Goby3
3.1.5a
2024.05.23
|
JWK Set. More...
#include <goby/util/thirdparty/jwt-cpp/jwt.h>
Public Types | |
using | jwk_t = jwk< json_traits > |
using | jwt_vector_t = std::vector< jwk_t > |
using | iterator = typename jwt_vector_t::iterator |
using | const_iterator = typename jwt_vector_t::const_iterator |
Public Member Functions | |
JWT_CLAIM_EXPLICIT | jwks (const typename json_traits::string_type &str) |
iterator | begin () |
iterator | end () |
const_iterator | cbegin () const |
const_iterator | cend () const |
const_iterator | begin () const |
const_iterator | end () const |
bool | has_jwk (const typename json_traits::string_type &key_id) const noexcept |
jwk_t | get_jwk (const typename json_traits::string_type &key_id) const |
JWK Set.
https://tools.ietf.org/html/rfc7517
A JSON object that represents a set of JWKs. The JSON object MUST have a "keys" member, which is an array of JWKs.
This container takes a JWKs and simplifies it to a vector of JWKs
using jwt::jwks< json_traits >::const_iterator = typename jwt_vector_t::const_iterator |
using jwt::jwks< json_traits >::jwt_vector_t = std::vector<jwk_t> |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |