userver: server::handlers::auth::digest::AuthCheckerSettings Struct Reference
Loading...
Searching...
No Matches
server::handlers::auth::digest::AuthCheckerSettings Struct Reference

#include <userver/server/handlers/auth/digest/auth_checker_settings.hpp>

Detailed Description

Struct of directives for digest authentication server settings per RFC 2617.

Examples
samples/digest_auth_service/auth_digest.cpp.

Definition at line 17 of file auth_checker_settings.hpp.

+ Collaboration diagram for server::handlers::auth::digest::AuthCheckerSettings:

Public Attributes

std::string algorithm
 
std::vector< std::string > domains
 domains from https://datatracker.ietf.org/doc/html/rfc2617#section-3.2.1
 
std::vector< std::string > qops
 
bool is_proxy {false}
 If set, the Proxy prefix is inserted into the header of responses.
 
bool is_session {false}
 
std::chrono::milliseconds nonce_ttl {0}
 

Member Data Documentation

◆ algorithm

std::string server::handlers::auth::digest::AuthCheckerSettings::algorithm

Algorithm for hashing nonce from https://datatracker.ietf.org/doc/html/rfc2617#section-3.2.1

Definition at line 20 of file auth_checker_settings.hpp.

◆ domains

std::vector<std::string> server::handlers::auth::digest::AuthCheckerSettings::domains

◆ is_proxy

bool server::handlers::auth::digest::AuthCheckerSettings::is_proxy {false}

If set, the Proxy prefix is inserted into the header of responses.

Definition at line 27 of file auth_checker_settings.hpp.

◆ is_session

bool server::handlers::auth::digest::AuthCheckerSettings::is_session {false}

Enable sessions and session algorithms (MD5-sess, SHA-256-sess and SHA-512-256-sess)

Definition at line 30 of file auth_checker_settings.hpp.

◆ nonce_ttl

std::chrono::milliseconds server::handlers::auth::digest::AuthCheckerSettings::nonce_ttl {0}

◆ qops

std::vector<std::string> server::handlers::auth::digest::AuthCheckerSettings::qops

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