Authorization factory registration and base classes.
Definition in file auth_checker_factory.hpp.
Go to the source code of this file.
#include <string>#include <string_view>#include <vector>#include <userver/components/component_context.hpp>#include <userver/server/handlers/auth/auth_checker_base.hpp>#include <userver/server/handlers/handler_config.hpp>#include <userver/utils/not_null.hpp>Classes | |
| class | server::handlers::auth::AuthCheckerFactoryBase |
| Base class for all the authorization factory checkers. More... | |
Namespaces | |
| namespace | server::handlers |
| Most common userver HTTP handlers. | |
Functions | |
| template<typename AuthCheckerFactory> | |
| void | server::handlers::auth::RegisterAuthCheckerFactory () |
| Function to call from main() to register an authorization checker. | |
| void server::handlers::auth::RegisterAuthCheckerFactory | ( | ) |
Function to call from main() to register an authorization checker.
| AuthCheckerFactory | must: 1) inherit from server::handlers::auth::AuthCheckerFactoryBase; 2) have a constructor from const components::ComponentContext&; 3) have static constexpr std::string_view kAuthType = "..." member. |
Definition at line 52 of file auth_checker_factory.hpp.