userver
C++ Async Framework
Loading...
Searching...
No Matches
auth_checker_settings.hpp
1
#
pragma
once
2
3
#
include
<
optional
>
4
5
#
include
<
userver
/
formats
/
json
/
value
.
hpp
>
6
7
#
include
"auth_checker_apikey_settings.hpp"
8
9
USERVER_NAMESPACE_BEGIN
10
11
namespace
server::handlers::
auth
{
12
13
class
AuthCheckerSettings
final
{
14
public
:
15
explicit
AuthCheckerSettings(
const
formats::
json
::Value& doc);
16
17
const
std::optional<ApiKeysMap>& GetApiKeysMap()
const
{
18
return
apikeys_map_;
19
}
20
21
private
:
22
void
ParseApikeys(
const
formats::
json
::Value& apikeys_map);
23
24
std::optional<ApiKeysMap> apikeys_map_;
25
};
26
27
}
// namespace server::handlers::auth
28
29
USERVER_NAMESPACE_END
userver
server
handlers
auth
auth_checker_settings.hpp
Generated on Thu Oct 3 2024 13:10:16 for userver by
Doxygen
1.10.0