6#include <userver/components/component_base.hpp>
7#include <userver/storages/secdist/component.hpp>
9#include "auth_checker_settings.hpp"
11USERVER_NAMESPACE_BEGIN
27class AuthCheckerSettings
final :
public ComponentBase {
29 AuthCheckerSettings(
const ComponentConfig&,
const ComponentContext&);
33 static constexpr std::string_view
kName =
"auth-checker-settings";
35 const server::handlers::auth::AuthCheckerSettings& Get()
const {
return settings_; }
37 static yaml_config::Schema GetStaticConfigSchema();
40 server::handlers::auth::AuthCheckerSettings settings_;
44inline constexpr bool kHasValidate<AuthCheckerSettings> =
true;
47inline constexpr auto kConfigFileMode<AuthCheckerSettings> = ConfigFileMode::kNotRequired;