userver
C++ Async Framework
Toggle main menu visibility
Loading...
Searching...
No Matches
handler_auth_config.hpp
Go to the documentation of this file.
1
#pragma once
2
5
6
#include <string>
7
#include <vector>
8
9
#include <
userver/yaml_config/yaml_config.hpp
>
10
11
USERVER_NAMESPACE_BEGIN
12
13
namespace
server::handlers::auth {
14
16
class
HandlerAuthConfig final :
public
yaml_config::YamlConfig
{
17
public
:
18
explicit
HandlerAuthConfig(
yaml_config::YamlConfig
value);
19
20
const
std::vector<std::string>& GetTypes()
const
{
return
types_; }
21
22
private
:
23
std::vector<std::string> types_;
24
};
25
26
HandlerAuthConfig
Parse(
const
yaml_config::YamlConfig
& value,
formats::parse::To<HandlerAuthConfig>
);
27
28
}
// namespace server::handlers::auth
29
30
USERVER_NAMESPACE_END
userver
server
handlers
auth
handler_auth_config.hpp
Generated on
for userver by
Doxygen
1.17.0