userver: userver/server/handlers/auth/digest/context.hpp File Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
context.hpp File Reference

Your opinion will help to improve our service

Leave a feedback >

Detailed Description

Context structures for Digest Authentication.

Definition in file context.hpp.

Go to the source code of this file.

#include <string>
+ This graph shows which files directly or indirectly include this file:

Classes

struct  server::handlers::auth::digest::ContextFromServer
 
struct  server::handlers::auth::digest::ContextFromClient
 

Namespaces

namespace  server::handlers
 Most common userver HTTP handlers.
 

Variables

constexpr std::size_t server::handlers::auth::digest::kMaxClientDirectivesNumber = 11
 
constexpr std::size_t server::handlers::auth::digest::kClientMandatoryDirectivesNumber = 5
 Number of mandatory directives in Authorization header.
 

Variable Documentation

◆ kClientMandatoryDirectivesNumber

std::size_t server::handlers::auth::digest::kClientMandatoryDirectivesNumber = 5
inlineconstexpr

Number of mandatory directives in Authorization header.

Definition at line 47 of file context.hpp.

◆ kMaxClientDirectivesNumber

std::size_t server::handlers::auth::digest::kMaxClientDirectivesNumber = 11
inlineconstexpr

Max number of directives in Authorization header. Must be equal to the number of DigestContextFromClient fields.

Definition at line 44 of file context.hpp.