userver: userver/server/handlers/auth/digest/auth_checker_base.hpp File Reference
Loading...
Searching...
No Matches
auth_checker_base.hpp File Reference

Detailed Description

Base class for digest authentication checkers. Implements a digest-authentication logic.

Definition in file auth_checker_base.hpp.

Go to the source code of this file.

#include <userver/server/handlers/auth/auth_checker_base.hpp>
#include <chrono>
#include <functional>
#include <optional>
#include <random>
#include <string_view>
#include <userver/crypto/hash.hpp>
#include <userver/rcu/rcu_map.hpp>
#include <userver/server/handlers/auth/digest/auth_checker_settings.hpp>
#include <userver/server/handlers/auth/digest/directives_parser.hpp>
#include <userver/server/http/http_request.hpp>
#include <userver/server/http/http_response.hpp>
#include <userver/server/http/http_status.hpp>
#include <userver/server/request/request_context.hpp>
#include <userver/storages/secdist/secdist.hpp>
+ This graph shows which files directly or indirectly include this file:

Classes

class  server::handlers::auth::digest::Hasher
 Used for data hashing and "nonce" generating. More...
 
struct  server::handlers::auth::digest::UserData
 Contains information about the user. More...
 
class  server::handlers::auth::digest::AuthCheckerBase
 Base class for digest authentication checkers. Implements a digest-authentication logic. More...
 

Namespaces

namespace  server::handlers
 Most common userver HTTP handlers.
 

Typedefs

using server::handlers::auth::digest::TimePoint = std::chrono::time_point<std::chrono::system_clock>
 
using server::handlers::auth::digest::SecdistConfig = storages::secdist::SecdistConfig
 
using server::handlers::auth::digest::ServerDigestAuthSecret = utils::NonLoggable<class DigestSecretKeyTag, std::string>
 

Typedef Documentation

◆ SecdistConfig

◆ ServerDigestAuthSecret

using server::handlers::auth::digest::ServerDigestAuthSecret = utils::NonLoggable<class DigestSecretKeyTag, std::string>

Definition at line 30 of file auth_checker_base.hpp.

◆ TimePoint

using server::handlers::auth::digest::TimePoint = std::chrono::time_point<std::chrono::system_clock>

Definition at line 28 of file auth_checker_base.hpp.