CCF
Loading...
Searching...
No Matches
Classes | Static Public Member Functions | List of all members
http::JwtVerifier Class Reference

#include <http_jwt.h>

Classes

struct  Token
 

Static Public Member Functions

static bool parse_auth_scheme (std::string_view &auth_header_value, std::string &error_reason)
 
static std::optional< Tokenparse_token (std::string_view &token, std::string &error_reason)
 
static std::optional< Tokenextract_token (const ccf::http::HeaderMap &headers, std::string &error_reason)
 
static bool validate_token_signature (const Token &token, const ccf::crypto::VerifierPtr &verifier)
 

Member Function Documentation

◆ extract_token()

static std::optional< Token > http::JwtVerifier::extract_token ( const ccf::http::HeaderMap headers,
std::string &  error_reason 
)
inlinestatic

◆ parse_auth_scheme()

static bool http::JwtVerifier::parse_auth_scheme ( std::string_view &  auth_header_value,
std::string &  error_reason 
)
inlinestatic

◆ parse_token()

static std::optional< Token > http::JwtVerifier::parse_token ( std::string_view &  token,
std::string &  error_reason 
)
inlinestatic

◆ validate_token_signature()

static bool http::JwtVerifier::validate_token_signature ( const Token token,
const ccf::crypto::VerifierPtr verifier 
)
inlinestatic

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