CCF
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Enumerations | Functions
http_jwt.h File Reference
#include "ccf/crypto/base64.h"
#include "ccf/crypto/verifier.h"
#include "ccf/http_consts.h"
#include "http_parser.h"
#include <fmt/format.h>
#include <optional>
#include <string>

Go to the source code of this file.

Classes

struct  http::JwtHeader
 
struct  http::JwtPayload
 
class  http::JwtVerifier
 
struct  http::JwtVerifier::Token
 

Namespaces

namespace  http
 

Macros

#define FMT_HEADER_ONLY
 

Enumerations

enum class  http::JwtCryptoAlgorithm { http::RS256 , http::ES256 }
 

Functions

 http::DECLARE_JSON_ENUM (JwtCryptoAlgorithm, {{JwtCryptoAlgorithm::RS256, "RS256"}, {JwtCryptoAlgorithm::ES256, "ES256"}})
 
 http::DECLARE_JSON_REQUIRED_FIELDS (JwtPayload, exp, iss)
 
 http::DECLARE_JSON_OPTIONAL_FIELDS (JwtPayload, nbf, tid)
 

Macro Definition Documentation

◆ FMT_HEADER_ONLY

#define FMT_HEADER_ONLY