MySQL  8.0.27
Source Code Documentation
http_auth_backend_plugin.cc File Reference
#include <array>
#include <future>
#include <mutex>
#include <thread>
#include <sys/types.h>
#include "mysql/harness/config_parser.h"
#include "mysql/harness/loader.h"
#include "mysql/harness/logging/logging.h"
#include "mysql/harness/plugin.h"
#include "mysqlrouter/http_auth_backend_component.h"
#include "mysqlrouter/http_auth_backend_export.h"
#include "mysqlrouter/metadata_cache.h"
#include "mysqlrouter/plugin_config.h"
#include "http_auth_backend.h"
#include "http_auth_backend_metadata_cache.h"

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
 

Namespaces

 anonymous_namespace{http_auth_backend_plugin.cc}
 

Functions

static void init (mysql_harness::PluginFuncEnv *env)
 
static void start (mysql_harness::PluginFuncEnv *env)
 
static void deinit (mysql_harness::PluginFuncEnv *)
 

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
 

Function Documentation

◆ deinit()

static void deinit ( mysql_harness::PluginFuncEnv )
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 init(mysql_harness::PluginFuncEnv *env)
Definition: http_auth_backend_plugin.cc:125
static const std::array< const char *, 2 > required
Definition: http_auth_backend_plugin.cc:206
static void start(mysql_harness::PluginFuncEnv *env)
Definition: http_auth_backend_plugin.cc:165
static void deinit(mysql_harness::PluginFuncEnv *)
Definition: http_auth_backend_plugin.cc:196

◆ 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",
}}