MySQL 9.3.0
Source Code Documentation
mrs::authentication::AuthHandlerFactory Class Reference

#include <auth_handler_factory.h>

Inheritance diagram for mrs::authentication::AuthHandlerFactory:
[legend]

Public Types

using MysqlCacheManager = collector::MysqlCacheManager
 
using QueryFactory = mrs::interface::QueryFactory
 
using SessionManager = http::SessionManager
 
- Public Types inherited from mrs::interface::AuthHandlerFactory
using MysqlCacheManager = collector::MysqlCacheManager
 
using AuthApp = mrs::database::entry::AuthApp
 
using AuthHandlerPtr = std::shared_ptr< AuthorizeHandler >
 
using AuthorizeHandlerCallbakcs = helper::AuthorizeHandlerCallbakcs
 
using SessionManager = http::SessionManager
 

Public Member Functions

 AuthHandlerFactory (QueryFactory *qf)
 
AuthHandlerPtr create_basic_auth_handler (AuthorizeHandlerCallbakcs *cb, const AuthApp &entry, MysqlCacheManager *cache_manager) const override
 
AuthHandlerPtr create_facebook_auth_handler (AuthorizeHandlerCallbakcs *cb, const AuthApp &entry) const override
 
AuthHandlerPtr create_google_auth_handler (AuthorizeHandlerCallbakcs *cb, const AuthApp &entry) const override
 
AuthHandlerPtr create_oidc_auth_handler (AuthorizeHandlerCallbakcs *cb, const AuthApp &entry) const override
 
AuthHandlerPtr create_scram_auth_handler (AuthorizeHandlerCallbakcs *cb, const AuthApp &entry, const std::string &rd, SessionManager *session_manager) const override
 
- Public Member Functions inherited from mrs::interface::AuthHandlerFactory
virtual ~AuthHandlerFactory ()=default
 

Private Attributes

QueryFactoryqf_
 

Member Typedef Documentation

◆ MysqlCacheManager

◆ QueryFactory

◆ SessionManager

Constructor & Destructor Documentation

◆ AuthHandlerFactory()

mrs::authentication::AuthHandlerFactory::AuthHandlerFactory ( QueryFactory qf)

Member Function Documentation

◆ create_basic_auth_handler()

AuthHandlerPtr mrs::authentication::AuthHandlerFactory::create_basic_auth_handler ( AuthorizeHandlerCallbakcs cb,
const AuthApp entry,
MysqlCacheManager cache_manager 
) const
overridevirtual

◆ create_facebook_auth_handler()

AuthHandlerPtr mrs::authentication::AuthHandlerFactory::create_facebook_auth_handler ( AuthorizeHandlerCallbakcs cb,
const AuthApp entry 
) const
overridevirtual

◆ create_google_auth_handler()

AuthHandlerPtr mrs::authentication::AuthHandlerFactory::create_google_auth_handler ( AuthorizeHandlerCallbakcs cb,
const AuthApp entry 
) const
overridevirtual

◆ create_oidc_auth_handler()

AuthHandlerPtr mrs::authentication::AuthHandlerFactory::create_oidc_auth_handler ( AuthorizeHandlerCallbakcs cb,
const AuthApp entry 
) const
overridevirtual

◆ create_scram_auth_handler()

AuthHandlerPtr mrs::authentication::AuthHandlerFactory::create_scram_auth_handler ( AuthorizeHandlerCallbakcs cb,
const AuthApp entry,
const std::string &  rd,
SessionManager session_manager 
) const
overridevirtual

Member Data Documentation

◆ qf_

QueryFactory* mrs::authentication::AuthHandlerFactory::qf_
private

The documentation for this class was generated from the following files: