qb
2.0.0.0
C++17 Actor Framework
|
JWT creation options. More...
#include <crypto_jwt.h>
Public Attributes | |
Algorithm | algorithm |
The signing algorithm to use. | |
std::string | key |
Secret key for HMAC algorithms, or PEM-encoded private key for asymmetric algorithms. | |
std::optional< std::string > | type |
Optional token type, typically "JWT". | |
std::optional< std::string > | content_type |
Optional content type. | |
std::optional< std::string > | key_id |
Optional key ID. | |
std::map< std::string, std::string > | header_claims |
Additional custom claims to include in the JWT header. |
JWT creation options.
std::optional<std::string> qb::jwt::CreateOptions::type |
Optional token type, typically "JWT".
Added to header typ claim.
std::optional<std::string> qb::jwt::CreateOptions::content_type |
Optional content type.
Added to header cty claim.
std::optional<std::string> qb::jwt::CreateOptions::key_id |
Optional key ID.
Added to header kid claim.