|
| HtpasswdPluginConfig (const mysql_harness::ConfigSection *section) |
|
std::string | get_default (const std::string &option) const override |
| Gets the default for the given option. More...
|
|
bool | is_required (const std::string &) const override |
| Returns whether the given option is required. More...
|
|
virtual | ~BasePluginConfig ()=default |
| destructor More...
|
|
std::string | get_option_description (const mysql_harness::ConfigSection *section, const std::string &option) const |
| get description of the option. More...
|
|
template<class Func > |
decltype(auto) | get_option (const mysql_harness::ConfigSection *section, const std::string &option, Func &&transformer) const |
| get option value. More...
|
|
template<class Func > |
decltype(auto) | get_option_no_default (const mysql_harness::ConfigSection *section, const std::string &option, Func &&transformer) const |
| get option value. More...
|
|
std::string | get_option_string (const mysql_harness::ConfigSection *section, const std::string &option) const |
| Gets value of given option as string. More...
|
|
template<class T > |
T | get_uint_option (const mysql_harness::ConfigSection *section, const std::string &option, T min_value=0, T max_value=std::numeric_limits< T >::max()) const |
| Gets an unsigned integer using the given option. More...
|
|
std::chrono::milliseconds | get_option_milliseconds (const mysql_harness::ConfigSection *section, const std::string &option, double min_value=0.0, double max_value=std::numeric_limits< double >::max()) const |
| Gets a number of milliseconds using the given option. More...
|
|
◆ HtpasswdPluginConfig()
anonymous_namespace{http_auth_backend_plugin.cc}::HtpasswdPluginConfig::HtpasswdPluginConfig |
( |
const mysql_harness::ConfigSection * |
section | ) |
|
|
inlineexplicit |
◆ get_default()
std::string anonymous_namespace{http_auth_backend_plugin.cc}::HtpasswdPluginConfig::get_default |
( |
const std::string & |
option | ) |
const |
|
inlineoverridevirtual |
Gets the default for the given option.
Gets the default value of the given option. If no default option is available, an empty string is returned.
- Parameters
-
- Returns
- default value for given option as std::string
Implements mysql_harness::BasePluginConfig.
◆ is_required()
bool anonymous_namespace{http_auth_backend_plugin.cc}::HtpasswdPluginConfig::is_required |
( |
const std::string & |
option | ) |
const |
|
inlineoverridevirtual |
◆ filename
std::string anonymous_namespace{http_auth_backend_plugin.cc}::HtpasswdPluginConfig::filename |
The documentation for this class was generated from the following file: