Goby3
3.1.5a
2024.05.23
|
#include <goby/util/thirdparty/jwt-cpp/jwt.h>
Public Types | |
using | basic_claim_t = basic_claim< json_traits > |
using | iterator = typename json_traits::object_type::iterator |
using | const_iterator = typename json_traits::object_type::const_iterator |
Public Member Functions | |
map_of_claims ()=default | |
map_of_claims (const map_of_claims &)=default | |
map_of_claims (map_of_claims &&)=default | |
map_of_claims & | operator= (const map_of_claims &)=default |
map_of_claims & | operator= (map_of_claims &&)=default |
map_of_claims (typename json_traits::object_type json) | |
iterator | begin () |
iterator | end () |
const_iterator | cbegin () const |
const_iterator | cend () const |
const_iterator | begin () const |
const_iterator | end () const |
bool | has_claim (const typename json_traits::string_type &name) const noexcept |
basic_claim_t | get_claim (const typename json_traits::string_type &name) const |
std::unordered_map< typename json_traits::string_type, basic_claim_t > | get_claims () const |
Static Public Member Functions | |
static json_traits::object_type | parse_claims (const typename json_traits::string_type &str) |
Parse a JSON string into a map of claims. More... | |
using jwt::details::map_of_claims< json_traits >::basic_claim_t = basic_claim<json_traits> |
using jwt::details::map_of_claims< json_traits >::const_iterator = typename json_traits::object_type::const_iterator |
using jwt::details::map_of_claims< json_traits >::iterator = typename json_traits::object_type::iterator |
|
default |
|
default |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Get a claim by name
name | the name of the desired claim |
jwt::error::claim_not_present_exception | if the claim was not present |
|
inline |
|
inlinenoexcept |
|
default |
|
default |
|
inlinestatic |