Base class for digest authentication checkers. Implements a digest-authentication logic.
More...
#include <userver/server/handlers/auth/digest/auth_checker_base.hpp>
Base class for digest authentication checkers. Implements a digest-authentication logic.
- Examples
- samples/digest_auth_service/auth_digest.cpp.
Definition at line 67 of file auth_checker_base.hpp.
◆ AuthCheckerBase()
server::handlers::auth::digest::AuthCheckerBase::AuthCheckerBase |
( |
const AuthCheckerSettings & |
digest_settings, |
|
|
std::string && |
realm |
|
) |
| |
◆ ~AuthCheckerBase()
server::handlers::auth::digest::AuthCheckerBase::~AuthCheckerBase |
( |
| ) |
|
|
overridevirtual |
◆ CheckAuth()
◆ FetchUserData()
virtual std::optional< UserData > server::handlers::auth::digest::AuthCheckerBase::FetchUserData |
( |
const std::string & |
username | ) |
const |
|
pure virtual |
◆ GetUnnamedNonceCreationTime()
virtual std::optional< TimePoint > server::handlers::auth::digest::AuthCheckerBase::GetUnnamedNonceCreationTime |
( |
const std::string & |
nonce | ) |
const |
|
pure virtual |
◆ PushUnnamedNonce()
virtual void server::handlers::auth::digest::AuthCheckerBase::PushUnnamedNonce |
( |
std::string |
nonce | ) |
const |
|
pure virtual |
◆ SetUserData()
virtual void server::handlers::auth::digest::AuthCheckerBase::SetUserData |
( |
const std::string & |
username, |
|
|
const std::string & |
nonce, |
|
|
std::int64_t |
nonce_count, |
|
|
TimePoint |
nonce_creation_time |
|
) |
| const |
|
pure virtual |
◆ SupportsUserAuth()
bool server::handlers::auth::digest::AuthCheckerBase::SupportsUserAuth |
( |
| ) |
const |
|
inlineoverridevirtualnoexcept |
The documentation for this class was generated from the following file: