userver: userver/server/handlers/auth/auth_checker_settings_component.hpp Source File
Loading...
Searching...
No Matches
auth_checker_settings_component.hpp
Go to the documentation of this file.
1#pragma once
2
5
8
10
11USERVER_NAMESPACE_BEGIN
12
13namespace components {
14
22class AuthCheckerSettings final : public ComponentBase {
23public:
24 AuthCheckerSettings(const ComponentConfig&, const ComponentContext&);
25
28 static constexpr std::string_view kName = "auth-checker-settings";
29
30 const server::handlers::auth::AuthCheckerSettings& Get() const { return settings_; }
31
33
34private:
36};
37
38template <>
39inline constexpr bool kHasValidate<AuthCheckerSettings> = true;
40
41template <>
42inline constexpr auto kConfigFileMode<AuthCheckerSettings> = ConfigFileMode::kNotRequired;
43
44} // namespace components
45
46USERVER_NAMESPACE_END