userver: userver/server/handlers/auth/auth_checker_apikey_settings.hpp Source File
Loading...
Searching...
No Matches
auth_checker_apikey_settings.hpp
Go to the documentation of this file.
1#pragma once
2
3/// @file userver/server/handlers/auth/auth_checker_apikey_settings.hpp
4/// @brief API key sets and maps for handler authentication
5
6#include <string>
7#include <unordered_map>
8#include <unordered_set>
9
10USERVER_NAMESPACE_BEGIN
11
12namespace server::handlers::auth {
13
14using ApiKeysSet = std::unordered_set<std::string>;
15using ApiKeysMap = std::unordered_map<std::string, ApiKeysSet>;
16
17} // namespace server::handlers::auth
18
19USERVER_NAMESPACE_END