Class for digest authentication checker. Implements a stand-alone digest-authentication logic.
More...
#include <userver/server/handlers/auth/digest/standalone_checker.hpp>
Class for digest authentication checker. Implements a stand-alone digest-authentication logic.
Definition at line 42 of file standalone_checker.hpp.
◆ FetchUserData()
std::optional< UserData > server::handlers::auth::digest::AuthStandaloneCheckerBase::FetchUserData |
( |
const std::string & |
username | ) |
const |
|
overridevirtual |
The implementation should return std::nullopt if the user is not registered. If the user is registered, but he is not in storage, the implementation can create him with arbitrary data.
Implements server::handlers::auth::digest::AuthCheckerBase.
◆ GetUnnamedNonceCreationTime()
std::optional< TimePoint > server::handlers::auth::digest::AuthStandaloneCheckerBase::GetUnnamedNonceCreationTime |
( |
const std::string & |
nonce | ) |
const |
|
overridevirtual |
◆ PushUnnamedNonce()
void server::handlers::auth::digest::AuthStandaloneCheckerBase::PushUnnamedNonce |
( |
std::string |
nonce | ) |
const |
|
overridevirtual |
◆ SetUserData()
void server::handlers::auth::digest::AuthStandaloneCheckerBase::SetUserData |
( |
const std::string & |
username, |
|
|
const std::string & |
nonce, |
|
|
std::int64_t |
nonce_count, |
|
|
TimePoint |
nonce_creation_time |
|
) |
| const |
|
overridevirtual |
◆ SupportsUserAuth()
bool server::handlers::auth::digest::AuthStandaloneCheckerBase::SupportsUserAuth |
( |
| ) |
const |
|
inlineoverridevirtualnoexcept |
The documentation for this class was generated from the following file: