CCF
Loading...
Searching...
No Matches
Public Member Functions | List of all members
loggingapp::CustomAuthPolicy Class Reference

Inherits ccf::AuthnPolicy.

Public Member Functions

std::unique_ptr< ccf::AuthnIdentityauthenticate (ccf::kv::ReadOnlyTx &ro_tx, const std::shared_ptr< ccf::RpcContext > &ctx, std::string &error_reason) override
 
std::optional< ccf::OpenAPISecuritySchemaget_openapi_security_schema () const override
 
std::string get_security_scheme_name () override
 
- Public Member Functions inherited from ccf::AuthnPolicy
virtual ~AuthnPolicy ()=default
 
virtual void set_unauthenticated_error (std::shared_ptr< ccf::RpcContext > ctx, std::string &&error_reason)
 

Member Function Documentation

◆ authenticate()

std::unique_ptr< ccf::AuthnIdentity > loggingapp::CustomAuthPolicy::authenticate ( ccf::kv::ReadOnlyTx ro_tx,
const std::shared_ptr< ccf::RpcContext > &  ctx,
std::string &  error_reason 
)
inlineoverridevirtual

Implements ccf::AuthnPolicy.

◆ get_openapi_security_schema()

std::optional< ccf::OpenAPISecuritySchema > loggingapp::CustomAuthPolicy::get_openapi_security_schema ( ) const
inlineoverridevirtual

Implements ccf::AuthnPolicy.

◆ get_security_scheme_name()

std::string loggingapp::CustomAuthPolicy::get_security_scheme_name ( )
inlineoverridevirtual

Implements ccf::AuthnPolicy.


The documentation for this class was generated from the following file: