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,
formats
::
parse
::
To
<HandlerAuthConfig>);
23
24
}
// namespace server::handlers::auth
25
26
USERVER_NAMESPACE_END
userver
server
handlers
auth
handler_auth_config.hpp
Generated on Wed Dec 4 2024 18:42:23 for userver by
Doxygen
1.10.0