#include <userver/server/auth/user_auth_info.hpp>
Authenticated user data attached to a request.
Definition at line 26 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 noexcept |
| const UserIds & | GetUserIds () const |
| const std::optional< UserScopes > & | GetUserScopesOptional () const |
| const std::optional< Ticket > & | GetTicketOptional () const |
| UserEnv | GetUserEnv () const |
| UserProvider | GetUserProvider () const |
| using server::auth::UserAuthInfo::Ticket = utils::NonLoggable<class TicketTag, std::string> |
Definition at line 28 of file user_auth_info.hpp.
|
inline |
Definition at line 47 of file user_auth_info.hpp.
|
inline |
Definition at line 48 of file user_auth_info.hpp.
|
friend |
Definition at line 51 of file user_auth_info.hpp.