userver: server::auth::UserAuthInfo Class Reference
Loading...
Searching...
No Matches
server::auth::UserAuthInfo Class Referencefinal

Detailed Description

Definition at line 22 of file user_auth_info.hpp.

Public Types

using Ticket = utils::NonLoggable<class TicketTag, std::string>
 

Public Member Functions

 UserAuthInfo (UserId default_id, UserEnv env, UserProvider provider)
 
 UserAuthInfo (UserId default_id, Ticket user_ticket, UserEnv env, UserProvider provider)
 
 UserAuthInfo (UserId default_id, UserIds ids, UserScopes scopes, UserEnv env, UserProvider provider)
 
 UserAuthInfo (UserId default_id, UserIds ids, UserScopes scopes, Ticket user_ticket, UserEnv env, UserProvider provider)
 
UserId GetDefaultUserId () const
 
const UserIds & GetUserIds () const
 
const std::optional< UserScopes > & GetUserScopesOptional () const
 
const std::optional< Ticket > & GetTicketOptional () const
 
UserEnv GetUserEnv () const
 
UserProvider GetUserProvider () const
 

Member Typedef Documentation

◆ Ticket

using server::auth::UserAuthInfo::Ticket = utils::NonLoggable<class TicketTag, std::string>

Definition at line 24 of file user_auth_info.hpp.

Member Function Documentation

◆ GetUserEnv()

UserEnv server::auth::UserAuthInfo::GetUserEnv ( ) const
inline

Definition at line 39 of file user_auth_info.hpp.

◆ GetUserProvider()

UserProvider server::auth::UserAuthInfo::GetUserProvider ( ) const
inline

Definition at line 40 of file user_auth_info.hpp.

Friends And Related Symbol Documentation

◆ server::handlers::auth::AuthCheckerBase

Definition at line 43 of file user_auth_info.hpp.


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