MySQL  8.0.22
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"

Functions

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

Variables

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

Function Documentation

◆ 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,
nullptr,
false,
}
static const std::array< const char *, 1 > required
Definition: http_auth_backend_plugin.cc:192
static void init(mysql_harness::PluginFuncEnv *env)
Definition: http_auth_backend_plugin.cc:124
static void start(mysql_harness::PluginFuncEnv *env)
Definition: http_auth_backend_plugin.cc:161

◆ kSectionName

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

http auth backend plugin.

section name : http_auth_backend

◆ required

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