MySQL 8.4.2
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 const std::array< const char *, 2 > 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:157
case opt name
Definition: sslopt-case.h:29
static constexpr std::array< const char *, 2 > http_backend_supported_options
Definition: supported_http_options.h:38

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 void init(mysql_harness::PluginFuncEnv *env)
Definition: http_auth_backend_plugin.cc:140
static const std::array< const char *, 2 > required
Definition: http_auth_backend_plugin.cc:221
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

const std::array<const char *, 2> required
static
Initial value:
= {{
"logger",
"router_protobuf",
}}