#include <userver/server/handlers/auth/digest/nonce_cache_settings_component.hpp>
Component that loads nonce cache settings from a static_config.yaml.
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.
Public Member Functions | |
NonceCacheSettingsComponent (const components::ComponentConfig &config, const components::ComponentContext &context) | |
const NonceCacheSettings & | GetSettings () const |
Public Member Functions inherited from server::handlers::auth::digest::AuthCheckerSettingsComponent | |
AuthCheckerSettingsComponent (const components::ComponentConfig &config, const components::ComponentContext &context) | |
const AuthCheckerSettings & | GetSettings () 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. | |