![]() |
MySQL 9.5.0
Source Code Documentation
|
#include <mysql_handler.h>
Public Types | |
| using | AuthApp = database::entry::AuthApp |
Public Types inherited from mrs::interface::AuthorizeHandler | |
| using | SqlSessionCached = collector::MysqlCacheManager::CachedObject |
| using | AuthUser = mrs::database::entry::AuthUser |
| using | AuthApp = mrs::database::entry::AuthApp |
| using | RequestContext = rest::RequestContext |
| using | SessionManager = http::SessionManager |
| using | Session = http::SessionManager::Session |
| using | SessionPtr = http::SessionManager::SessionPtr |
| using | UserManager = mrs::users::UserManager |
Public Member Functions | |
| MysqlHandler (const AuthApp &entry, collector::MysqlCacheManager *cache_manager, QueryFactory *qf) | |
| const std::string & | get_handler_name () const override |
| std::set< UniversalId > | get_service_ids () const override |
| UniversalId | get_id () const override |
| bool | verify_credential (const Credentials &credentials, SqlSessionCached *out_cache, AuthUser *out_user) override |
| void | init_session (const SessionPtr &session, const Credentials &credentials) override |
Public Member Functions inherited from mrs::authentication::WwwAuthenticationHandler | |
| WwwAuthenticationHandler (const AuthApp &entry, QueryFactory *qf) | |
| UserManager & | get_user_manager () override |
Public Member Functions inherited from mrs::interface::AuthorizeHandler | |
| virtual | ~AuthorizeHandler ()=default |
| virtual void | pre_authorize_account (AuthorizeHandler *handler, const std::string &account)=0 |
Private Attributes | |
| collector::MysqlCacheManager * | cache_manager_ |
| using mrs::authentication::MysqlHandler::AuthApp = database::entry::AuthApp |
| mrs::authentication::MysqlHandler::MysqlHandler | ( | const AuthApp & | entry, |
| collector::MysqlCacheManager * | cache_manager, | ||
| QueryFactory * | qf | ||
| ) |
|
overridevirtual |
Implements mrs::interface::AuthorizeHandler.
|
overridevirtual |
Implements mrs::interface::AuthorizeHandler.
|
overridevirtual |
Implements mrs::interface::AuthorizeHandler.
|
overridevirtual |
Implements mrs::authentication::WwwAuthenticationHandler.
|
overridevirtual |
Implements mrs::authentication::WwwAuthenticationHandler.
|
private |