![]()  | 
  
    MySQL 9.5.0
    
   Source Code Documentation 
   | 
 
Namespaces | |
| namespace | anonymous_namespace{authorize_manager.cc} | 
| namespace | anonymous_namespace{mysql_handler.cc} | 
| namespace | anonymous_namespace{sasl_handler.cc} | 
| namespace | anonymous_namespace{www_authentication_handler.cc} | 
Classes | |
| struct | AcceptInfo | 
| class | AuthHandlerFactory | 
| class | AuthorizeManager | 
| struct | AuthorizeParameters | 
| struct | GeneratorNonceCharacters | 
Generate nonce character.  More... | |
| class | JsonAuthContinue | 
| class | JsonAuthInitRequest | 
| class | KeyStoredInformations | 
| class | MysqlHandler | 
| class | Oauth2FacebookHandler | 
| class | Oauth2GoogleHandler | 
| class | Oauth2Handler | 
| class | Oauth2OidcHandler | 
| class | RateControlFor | 
| class | SaslHandler | 
| struct | ScramClientAuthContinue | 
| struct | ScramClientAuthInitial | 
| class | ScramHandler | 
| class | ScramJsonParser | 
| class | ScramParser | 
| struct | ScramServerAuthChallange | 
| class | ScramSessionData | 
| class | ScramStandardParser | 
| class | TrackAuthorizeHandler | 
| class | UniversalIdContainer | 
| class | UserOptionsParser | 
| class | WwwAuthenticationHandler | 
Enumerations | |
| enum class | BlockReason { kNone , kTooFast , kRateExceeded } | 
Functions | |
| static std::string | expire_timestamp (std::chrono::system_clock::duration d) | 
| static bool | is_timestamp_in_past (const std::string ts) | 
| template<typename Document > | |
| void | doc_set_member (Document &doc, std::string_view name, std::string_view value) | 
| static std::string | generate_uuid () | 
| template<typename Container > | |
| AuthorizeParameters | extract_parameters (const Container &container, const bool allow_shorts=false) | 
| AuthorizeParameters | get_authorize_parameters (::http::base::Request *request) | 
| std::string | crypto_hmac (const std::string &key, const std::string &data) | 
| std::string | crypto_xor (const std::string &key, const std::string &data) | 
| std::string | crypto_sha256 (const std::string &data) | 
| HttpResult | get_problem_description (::http::base::status_code::key_type status, const std::string &msg, MapObject o) | 
| HttpResult | get_problem_description (::http::base::status_code::key_type status) | 
| template<typename T > | |
| std::string | as_string (const std::vector< T > &v) | 
| int64_t | as_int64 (const char *s) | 
| std::string | scram_pack (const ScramClientAuthContinue &data) | 
| std::string | scram_pack (const ScramClientAuthInitial &data) | 
| std::string | scram_pack (const ScramServerAuthChallange &data) | 
| std::map< std::string, std::string > | convert_to_map (const std::vector< std::string > &values) | 
| ScramClientAuthInitial | scram_unpack_initial (const std::string &auth_data) | 
| ScramClientAuthContinue | scram_unpack_continue (const std::string &auth_data) | 
| std::string | scram_remove_proof (const std::string &auth_data) | 
| std::string | scram_remove_gs2_header (const std::string &auth_data) | 
| std::unique_ptr< ScramParser > | create_scram_parser (const bool is_json) | 
| std::string | to_string (const std::set< UniversalId > &ids) | 
| static void | on_session_created (const MysqlHandler::SessionPtr &session) | 
| static void | on_session_destroyed (const MysqlHandler::SessionPtr &session) | 
| static std::string | escape (const std::string &in) | 
| static void | modify_oci_path (std::vector< std::string > &path_elements, const char *last_path_element) | 
| AuthenticationState | get_authentication_state_impl (const std::string &s) | 
| static std::string | string_array (const std::string &s) | 
| template<typename T = uint8_t> | |
| std::vector< T > | as_vector (const std::string &v) | 
| AuthApp | limit_users (const AuthApp &a) | 
| const char * | to_string (const bool b) | 
| static bool | extract_user_credentials_from_token (const std::string &token, std::string *user, mysql_harness::SecureString *password) | 
| static std::string | find_header_or (const ::http::base::Headers &headers, const std::string &name, std::string &&default_value) | 
Variables | |
| const UniversalId | k_vendor_mrs {{0x30, 0}} | 
| const UniversalId | k_vendor_mysql {{0x31, 0}} | 
| const UniversalId | k_vendor_facebook {{0x32, 0}} | 
| const UniversalId | k_vendor_google {{0x34, 0}} | 
| const UniversalId | k_vendor_oidc {{0x35, 0}} | 
| const uint64_t | k_default_jwt_expire_timeout {15} | 
| const uint64_t | k_maximum_jwt_expire_timeout {60} | 
| const uint64_t | k_default_passthrough_pool_size {4} | 
| const uint64_t | k_maximum_passthrough_max_sessions_per_user {1000} | 
| const uint64_t | k_maximum_passthrough_pool_size {1000} | 
| const std::string | k_oauth_scope | 
| static const std::string | kParameterAuthData = "data" | 
| static const char * | kBasicSchema = "basic" | 
| using mrs::authentication::Handlers = typedef AuthorizeManager::AuthHandlers | 
| using mrs::authentication::Headers = typedef ::http::base::Headers | 
| using mrs::authentication::Jwt = typedef helper::Jwt | 
| using mrs::authentication::JwtHolder = typedef helper::JwtHolder | 
| using mrs::authentication::MapObject = typedef std::map<std::string, std::string> | 
| using mrs::authentication::milliseconds = typedef std::chrono::milliseconds | 
| using mrs::authentication::minutes = typedef std::chrono::minutes | 
| using mrs::authentication::SaslData = typedef SaslHandler::SaslData | 
| using mrs::authentication::SaslResult = typedef ScramHandler::SaslResult | 
| using mrs::authentication::seconds = typedef std::chrono::seconds | 
| using mrs::authentication::SessionId = typedef AuthorizeManager::SessionId | 
| using mrs::authentication::SessionPtr = typedef AuthorizeManager::SessionPtr | 
| using mrs::authentication::Url = typedef helper::http::Url | 
      
  | 
  strong | 
| int64_t mrs::authentication::as_int64 | ( | const char * | s | ) | 
| std::vector< T > mrs::authentication::as_vector | ( | const std::string & | v | ) | 
| std::map< std::string, std::string > mrs::authentication::convert_to_map | ( | const std::vector< std::string > & | values | ) | 
| std::unique_ptr< ScramParser > mrs::authentication::create_scram_parser | ( | const bool | is_json | ) | 
| std::string mrs::authentication::crypto_hmac | ( | const std::string & | key, | 
| const std::string & | data | ||
| ) | 
| std::string mrs::authentication::crypto_sha256 | ( | const std::string & | data | ) | 
| std::string mrs::authentication::crypto_xor | ( | const std::string & | key, | 
| const std::string & | data | ||
| ) | 
| void mrs::authentication::doc_set_member | ( | Document & | doc, | 
| std::string_view | name, | ||
| std::string_view | value | ||
| ) | 
      
  | 
  static | 
      
  | 
  static | 
| AuthorizeParameters mrs::authentication::extract_parameters | ( | const Container & | container, | 
| const bool | allow_shorts = false  | 
        ||
| ) | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
| AuthenticationState mrs::authentication::get_authentication_state_impl | ( | const std::string & | s | ) | 
| AuthorizeParameters mrs::authentication::get_authorize_parameters | ( | ::http::base::Request * | request | ) | 
| mrs::interface::HttpResult mrs::authentication::get_problem_description | ( | ::http::base::status_code::key_type | status | ) | 
| mrs::interface::HttpResult mrs::authentication::get_problem_description | ( | ::http::base::status_code::key_type | status, | 
| const std::string & | msg, | ||
| MapObject | o | ||
| ) | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
| std::string mrs::authentication::scram_pack | ( | const ScramClientAuthContinue & | data | ) | 
| std::string mrs::authentication::scram_pack | ( | const ScramClientAuthInitial & | data | ) | 
| std::string mrs::authentication::scram_pack | ( | const ScramServerAuthChallange & | data | ) | 
| std::string mrs::authentication::scram_remove_gs2_header | ( | const std::string & | auth_data | ) | 
| std::string mrs::authentication::scram_remove_proof | ( | const std::string & | auth_data | ) | 
| ScramClientAuthContinue mrs::authentication::scram_unpack_continue | ( | const std::string & | auth_data | ) | 
| ScramClientAuthInitial mrs::authentication::scram_unpack_initial | ( | const std::string & | auth_data | ) | 
      
  | 
  static | 
| const char * mrs::authentication::to_string | ( | const bool | b | ) | 
| std::string mrs::authentication::to_string | ( | const std::set< UniversalId > & | ids | ) | 
| const uint64_t mrs::authentication::k_default_jwt_expire_timeout {15} | 
| const uint64_t mrs::authentication::k_default_passthrough_pool_size {4} | 
| const uint64_t mrs::authentication::k_maximum_jwt_expire_timeout {60} | 
| const uint64_t mrs::authentication::k_maximum_passthrough_max_sessions_per_user {1000} | 
| const uint64_t mrs::authentication::k_maximum_passthrough_pool_size {1000} | 
| const std::string mrs::authentication::k_oauth_scope | 
| const UniversalId mrs::authentication::k_vendor_facebook {{0x32, 0}} | 
| const UniversalId mrs::authentication::k_vendor_google {{0x34, 0}} | 
| const UniversalId mrs::authentication::k_vendor_mrs {{0x30, 0}} | 
| const UniversalId mrs::authentication::k_vendor_mysql {{0x31, 0}} | 
| const UniversalId mrs::authentication::k_vendor_oidc {{0x35, 0}} | 
      
  | 
  static | 
      
  | 
  static |