userver: userver/server/handlers/auth/auth_checker_factory.hpp File Reference
Loading...
Searching...
No Matches
auth_checker_factory.hpp File Reference

Detailed Description

Authorization factory registration and base classes.

Definition in file auth_checker_factory.hpp.

Go to the source code of this file.

#include <userver/components/component_context.hpp>
#include <userver/server/handlers/auth/auth_checker_base.hpp>
#include <userver/server/handlers/auth/auth_checker_settings.hpp>
#include <userver/server/handlers/handler_config.hpp>
+ Include dependency graph for auth_checker_factory.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

void server::handlers::auth::RegisterAuthCheckerFactory (std::string auth_type, std::unique_ptr< AuthCheckerFactoryBase > &&factory)
 Function to call from main() to register an authorization checker.
 
const AuthCheckerFactoryBaseserver::handlers::auth::GetAuthCheckerFactory (const std::string &auth_type)
 Function that returns an authorization checker factory.