MySQL 9.1.0
Source Code Documentation
http_auth_backend_plugin.cc File Reference

Classes

class  anonymous_namespace{http_auth_backend_plugin.cc}::HtpasswdPluginConfig
 
class  anonymous_namespace{http_auth_backend_plugin.cc}::HttpAuthBackendFactory
 
class  anonymous_namespace{http_auth_backend_plugin.cc}::PluginConfig
 
class  anonymous_namespace{http_auth_backend_plugin.cc}::HttpAuthBackendConfigExposer
 

Namespaces

namespace  anonymous_namespace{http_auth_backend_plugin.cc}
 

Macros

#define GET_OPTION_CHECKED(option, section, name, value)
 

Typedefs

using StringOption = mysql_harness::StringOption
 

Functions

static void init (mysql_harness::PluginFuncEnv *env)
 
static void start (mysql_harness::PluginFuncEnv *env)
 
static void deinit (mysql_harness::PluginFuncEnv *)
 
static void expose_configuration (mysql_harness::PluginFuncEnv *env, const char *key, bool initial)
 

Variables

static constexpr const char kSectionName [] {"http_auth_backend"}
 http auth backend plugin. More...
 
static std::vector< std::string > registered_backends
 
std::shared_ptr< HttpAuthBackendComponent::value_typeauth_backends
 
static constexpr std::array required
 
mysql_harness::Plugin HTTP_AUTH_BACKEND_EXPORT harness_plugin_http_auth_backend
 

Macro Definition Documentation

◆ GET_OPTION_CHECKED

#define GET_OPTION_CHECKED (   option,
  section,
  name,
  value 
)
Value:
static_assert( \
option = get_option(section, name, value);
constexpr bool str_in_collection(const T &t, const std::string_view &k)
Definition: string.h:94
case opt name
Definition: sslopt-case.h:29
static constexpr std::array http_backend_supported_options
Definition: supported_http_options.h:43

Typedef Documentation

◆ StringOption

Function Documentation

◆ deinit()

static void deinit ( mysql_harness::PluginFuncEnv )
static

◆ expose_configuration()

static void expose_configuration ( mysql_harness::PluginFuncEnv env,
const char *  key,
bool  initial 
)
static

◆ init()

static void init ( mysql_harness::PluginFuncEnv env)
static

◆ start()

static void start ( mysql_harness::PluginFuncEnv env)
static

Variable Documentation

◆ auth_backends

std::shared_ptr<HttpAuthBackendComponent::value_type> auth_backends

◆ harness_plugin_http_auth_backend

mysql_harness::Plugin HTTP_AUTH_BACKEND_EXPORT harness_plugin_http_auth_backend
Initial value:
= {
mysql_harness::PLUGIN_ABI_VERSION,
mysql_harness::ARCHITECTURE_DESCRIPTOR,
"HTTP_AUTH_BACKEND",
VERSION_NUMBER(0, 0, 1),
required.size(),
required.data(),
0,
nullptr,
init,
nullptr,
false,
}
static void expose_configuration(mysql_harness::PluginFuncEnv *env, const char *key, bool initial)
Definition: http_auth_backend_plugin.cc:253
static constexpr std::array required
Definition: http_auth_backend_plugin.cc:221
static void init(mysql_harness::PluginFuncEnv *env)
Definition: http_auth_backend_plugin.cc:140
static void start(mysql_harness::PluginFuncEnv *env)
Definition: http_auth_backend_plugin.cc:180
static void deinit(mysql_harness::PluginFuncEnv *)
Definition: http_auth_backend_plugin.cc:211

◆ kSectionName

constexpr const char kSectionName[] {"http_auth_backend"}
staticconstexpr

http auth backend plugin.

section name : http_auth_backend

◆ registered_backends

std::vector<std::string> registered_backends
static

◆ required

constexpr std::array required
staticconstexpr
Initial value:
{
"logger",
"router_protobuf",
}