userver: server::handlers::auth::digest::NonceCacheSettingsComponent Class Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
server::handlers::auth::digest::NonceCacheSettingsComponent Class Referencefinal

Component that loads nonce cache settings from a static_config.yaml. More...

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

+ Inheritance diagram for server::handlers::auth::digest::NonceCacheSettingsComponent:
+ Collaboration diagram for server::handlers::auth::digest::NonceCacheSettingsComponent:

Public Member Functions

 NonceCacheSettingsComponent (const components::ComponentConfig &config, const components::ComponentContext &context)
 
const NonceCacheSettingsGetSettings () const
 
- Public Member Functions inherited from server::handlers::auth::digest::AuthCheckerSettingsComponent
 AuthCheckerSettingsComponent (const components::ComponentConfig &config, const components::ComponentContext &context)
 
const AuthCheckerSettingsGetSettings () const
 
- Public Member Functions inherited from components::LoggableComponentBase
 LoggableComponentBase (const ComponentConfig &, const ComponentContext &)
 
 LoggableComponentBase (LoggableComponentBase &&)=delete
 
 LoggableComponentBase (const LoggableComponentBase &)=delete
 
 ~LoggableComponentBase () override=default
 
ComponentHealth GetComponentHealth () const override
 
void OnLoadingCancelled () override
 
void OnAllComponentsLoaded () override
 
void OnAllComponentsAreStopping () override
 

Static Public Member Functions

static yaml_config::Schema GetStaticConfigSchema ()
 
- Static Public Member Functions inherited from server::handlers::auth::digest::AuthCheckerSettingsComponent
static yaml_config::Schema GetStaticConfigSchema ()
 
- Static Public Member Functions inherited from components::LoggableComponentBase
static yaml_config::Schema GetStaticConfigSchema ()
 

Static Public Attributes

static constexpr std::string_view kName = "nonce-cache-settings"
 The default name of server::handlers::auth::NonceCacheSettingsComponent.
 
- Static Public Attributes inherited from server::handlers::auth::digest::AuthCheckerSettingsComponent
static constexpr std::string_view kName = "auth-digest-checker-settings"
 The default name of server::handlers::auth::digest::AuthCheckerSettingsComponent.
 

Detailed Description

Component that loads nonce cache settings from a static_config.yaml.

Static options:

Name Description Default value
size max amount of items to store in cache -
ways number of ways for associative cache -

Definition at line 39 of file nonce_cache_settings_component.hpp.


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