#include <authorize_manager.h>
|
virtual | ~AuthorizeManager ()=default |
|
virtual void | update (const Entries &entries)=0 |
|
virtual bool | authorize (const std::string &proto, const std::string &host, ServiceId id, bool passthrough_db_user, rest::RequestContext &ctxt, AuthUser *out_user)=0 |
|
virtual bool | is_authorized (ServiceId id, rest::RequestContext &ctxt, AuthUser *user)=0 |
|
virtual bool | unauthorize (const SessionPtr &session, http::Cookie *cookies)=0 |
|
virtual void | configure (const std::string &options)=0 |
|
virtual std::string | get_jwt_token (ServiceId service_id, const SessionPtr &s)=0 |
|
virtual users::UserManager * | get_user_manager ()=0 |
|
virtual Container | get_supported_authentication_applications (ServiceId id)=0 |
|
virtual void | discard_current_session (ServiceId, http::Cookie *) |
|
virtual collector::MysqlCacheManager * | get_cache ()=0 |
|
virtual void | clear ()=0 |
|
virtual void | update_users_cache (const ChangedUsersIds &changed_users_ids)=0 |
|
◆ AuthApp
◆ AuthHandlers
◆ AuthorizeHandlerPtr
◆ AuthUser
◆ ChangedUsersIds
◆ Container
◆ Entries
◆ HttpHeaders
◆ ServiceId
◆ Session
◆ SessionId
◆ SessionPtr
◆ SqlSessionCached
◆ ~AuthorizeManager()
virtual mrs::interface::AuthorizeManager::~AuthorizeManager |
( |
| ) |
|
|
virtualdefault |
◆ authorize()
virtual bool mrs::interface::AuthorizeManager::authorize |
( |
const std::string & |
proto, |
|
|
const std::string & |
host, |
|
|
ServiceId |
id, |
|
|
bool |
passthrough_db_user, |
|
|
rest::RequestContext & |
ctxt, |
|
|
AuthUser * |
out_user |
|
) |
| |
|
pure virtual |
◆ clear()
virtual void mrs::interface::AuthorizeManager::clear |
( |
| ) |
|
|
pure virtual |
◆ configure()
virtual void mrs::interface::AuthorizeManager::configure |
( |
const std::string & |
options | ) |
|
|
pure virtual |
◆ discard_current_session()
◆ get_cache()
◆ get_jwt_token()
virtual std::string mrs::interface::AuthorizeManager::get_jwt_token |
( |
ServiceId |
service_id, |
|
|
const SessionPtr & |
s |
|
) |
| |
|
pure virtual |
◆ get_supported_authentication_applications()
virtual Container mrs::interface::AuthorizeManager::get_supported_authentication_applications |
( |
ServiceId |
id | ) |
|
|
pure virtual |
◆ get_user_manager()
◆ is_authorized()
◆ unauthorize()
virtual bool mrs::interface::AuthorizeManager::unauthorize |
( |
const SessionPtr & |
session, |
|
|
http::Cookie * |
cookies |
|
) |
| |
|
pure virtual |
◆ update()
virtual void mrs::interface::AuthorizeManager::update |
( |
const Entries & |
entries | ) |
|
|
pure virtual |
◆ update_users_cache()
virtual void mrs::interface::AuthorizeManager::update_users_cache |
( |
const ChangedUsersIds & |
changed_users_ids | ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: