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
{
return
apikeys_map_; }
18
19
private
:
20
void
ParseApikeys(
const
formats::
json
::Value& apikeys_map);
21
22
std::optional<ApiKeysMap> apikeys_map_;
23
};
24
25
}
// namespace server::handlers::auth
26
27
USERVER_NAMESPACE_END
userver
server
handlers
auth
auth_checker_settings.hpp
Generated on Tue Nov 19 2024 11:28:45 for userver by
Doxygen
1.10.0