userver
C++ Async Framework
Loading...
Searching...
No Matches
handler_auth_config.hpp
1
#
pragma
once
2
3
#
include
<
string
>
4
#
include
<
vector
>
5
6
#
include
<
userver
/
yaml_config
/
yaml_config
.
hpp
>
7
8
USERVER_NAMESPACE_BEGIN
9
10
namespace
server::handlers::
auth
{
11
12
class
HandlerAuthConfig
final
:
public
yaml_config
::
YamlConfig
{
13
public
:
14
explicit
HandlerAuthConfig(
yaml_config
::
YamlConfig
value);
15
16
const
std::vector<std::string>& GetTypes()
const
{
return
types_; }
17
18
private
:
19
std::vector<std::string> types_;
20
};
21
22
HandlerAuthConfig Parse(
const
yaml_config
::
YamlConfig
& value,
23
formats::
parse
::
To
<HandlerAuthConfig>);
24
25
}
// namespace server::handlers::auth
26
27
USERVER_NAMESPACE_END
userver
server
handlers
auth
handler_auth_config.hpp
Generated on Wed May 15 2024 22:20:48 for userver by
Doxygen
1.10.0