userver: server::handlers::auth::AuthCheckerBase Class Reference
Loading...
Searching...
No Matches
server::handlers::auth::AuthCheckerBase Class Referenceabstract

Detailed Description

Examples
samples/postgres_auth/auth_bearer.cpp.

Definition at line 34 of file auth_checker_base.hpp.

+ Inheritance diagram for server::handlers::auth::AuthCheckerBase:

Public Member Functions

virtual AuthCheckResult CheckAuth (const http::HttpRequest &request, request::RequestContext &context) const =0
 
virtual bool SupportsUserAuth () const noexcept=0
 

Protected Member Functions

void SetUserAuthInfo (server::request::RequestContext &request_context, server::auth::UserAuthInfo &&info) const
 

Member Function Documentation

◆ CheckAuth()

virtual AuthCheckResult server::handlers::auth::AuthCheckerBase::CheckAuth ( const http::HttpRequest & request,
request::RequestContext & context ) const
pure virtual

◆ SupportsUserAuth()

virtual bool server::handlers::auth::AuthCheckerBase::SupportsUserAuth ( ) const
pure virtualnoexcept

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