userver
C++ Async Framework
Loading...
Searching...
No Matches
handler_auth_config.hpp
Go to the documentation of this file.
1
#
pragma
once
2
3
/// @file userver/server/handlers/auth/handler_auth_config.hpp
4
/// @brief @copybrief server::handlers::auth::HandlerAuthConfig
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
15
/// @brief Handler authentication configuration
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 Thu May 21 2026 16:16:13 for userver by
Doxygen
1.13.2