MySQL 9.0.0
Source Code Documentation
authentication_policy.h File Reference
#include <string>
#include <vector>
#include "mysql/plugin_auth.h"
#include "sql/sql_plugin_ref.h"

Go to the source code of this file.

Classes

class  authentication_policy::Factor
 Class representing authenticalion policy factor. More...
 
class  authentication_policy::Policy
 Class representing authentication policy. More...
 

Namespaces

namespace  authentication_policy
 namespace for authentication policy
 

Typedefs

using authentication_policy::Factors = std::vector< Factor >
 Type of container with authentication policy factors. More...
 

Functions

int authentication_policy::init (const char *opt_authentication_policy)
 Initialize authentication policy. More...
 
void authentication_policy::deinit ()
 Deinitialize authentication policy. More...
 
bool authentication_policy::policy_validate (const char *new_policy)
 Validate @authentication_policy variable value. More...
 
bool authentication_policy::policy_update (const char *new_policy)
 Validate @authentication_policy variable value. More...
 
void authentication_policy::get_policy_factors (Factors &factors)
 Get copy of the authentication policy factors. More...
 
void authentication_policy::get_first_factor_default_plugin (std::string &name)
 Get copy of first factor default plugin name. More...
 
void authentication_policy::get_first_factor_default_plugin (MEM_ROOT *mem_root, LEX_CSTRING *name)
 Get copy of default plugin name. More...