#include <jwt.h>
|
| static json_traits::object_type | parse_claims (const typename json_traits::string_type &str) |
| | Parse a JSON string into a map of claims. More...
|
| |
|
| json_traits::object_type | claims |
| |
◆ basic_claim_t
template<typename json_traits >
◆ const_iterator
template<typename json_traits >
◆ iterator
template<typename json_traits >
◆ map_of_claims() [1/4]
template<typename json_traits >
◆ map_of_claims() [2/4]
template<typename json_traits >
◆ map_of_claims() [3/4]
template<typename json_traits >
◆ map_of_claims() [4/4]
template<typename json_traits >
◆ begin() [1/2]
template<typename json_traits >
◆ begin() [2/2]
template<typename json_traits >
◆ cbegin()
template<typename json_traits >
◆ cend()
template<typename json_traits >
◆ end() [1/2]
template<typename json_traits >
◆ end() [2/2]
template<typename json_traits >
◆ get_claim()
template<typename json_traits >
Get a claim by name
- Parameters
-
| name | the name of the desired claim |
- Returns
- Requested claim
- Exceptions
-
◆ has_claim()
template<typename json_traits >
Check if a claim is present in the map
- Returns
- true if claim was present, false otherwise
◆ operator=() [1/2]
template<typename json_traits >
◆ operator=() [2/2]
template<typename json_traits >
◆ parse_claims()
template<typename json_traits >
| static json_traits::object_type jwt::details::map_of_claims< json_traits >::parse_claims |
( |
const typename json_traits::string_type & |
str | ) |
|
|
inlinestatic |
Parse a JSON string into a map of claims.
The implication is that a "map of claims" is identic to a JSON object
- Parameters
-
| str | JSON data to be parse as an object |
- Returns
- content as JSON object
◆ claims
template<typename json_traits >
The documentation for this struct was generated from the following file:
- tmp-conscience-engine/libs/jwt-cpp/jwt.h