#include <jwt_auth.h>
Inherits ccf::AuthnPolicy.
◆ JwtAuthnPolicy()
ccf::JwtAuthnPolicy::JwtAuthnPolicy |
( |
| ) |
|
◆ ~JwtAuthnPolicy()
ccf::JwtAuthnPolicy::~JwtAuthnPolicy |
( |
| ) |
|
|
virtualdefault |
◆ authenticate()
◆ get_openapi_security_schema()
◆ get_security_scheme_name()
std::string ccf::JwtAuthnPolicy::get_security_scheme_name |
( |
| ) |
|
|
inlineoverridevirtual |
◆ set_unauthenticated_error()
void ccf::JwtAuthnPolicy::set_unauthenticated_error |
( |
std::shared_ptr< ccf::RpcContext > |
ctx, |
|
|
std::string && |
error_reason |
|
) |
| |
|
overridevirtual |
◆ keys_cache
◆ security_schema
Initial value:= std::make_pair(
nlohmann::json{
{"type", "http"}, {"scheme", "bearer"}, {"bearerFormat", "JWT"}})
static constexpr auto SECURITY_SCHEME_NAME
Definition jwt_auth.h:34
◆ SECURITY_SCHEME_NAME
constexpr auto ccf::JwtAuthnPolicy::SECURITY_SCHEME_NAME = "jwt" |
|
staticconstexpr |
The documentation for this class was generated from the following files: