| JWT-CPP v0.7.1
    A header only library for creating and validating JSON Web Tokens (JWT) in C++ | 
#include <jwt.h>
| Public Types | |
| using | basic_claim_t = basic_claim<json_traits> | 
| Public Member Functions | |
| bool | has_issuer () const noexcept | 
| bool | has_subject () const noexcept | 
| bool | has_audience () const noexcept | 
| bool | has_expires_at () const noexcept | 
| bool | has_not_before () const noexcept | 
| bool | has_issued_at () const noexcept | 
| bool | has_id () const noexcept | 
| json_traits::string_type | get_issuer () const | 
| json_traits::string_type | get_subject () const | 
| basic_claim_t::set_t | get_audience () const | 
| date | get_expires_at () const | 
| date | get_not_before () const | 
| date | get_issued_at () const | 
| json_traits::string_type | get_id () const | 
| bool | has_payload_claim (const typename json_traits::string_type &name) const noexcept | 
| basic_claim_t | get_payload_claim (const typename json_traits::string_type &name) const | 
| Protected Attributes | |
| details::map_of_claims< json_traits > | payload_claims | 
Base class that represents a token payload. Contains Convenience accessors for common claims.
| 
 | inline | 
Get audience claim
| std::runtime_error | If claim was not present | 
| std::bad_cast | Claim was present but not a set (Should not happen in a valid token) | 
| 
 | inline | 
Get expires claim
| std::runtime_error | If claim was not present | 
| std::bad_cast | Claim was present but not a date (Should not happen in a valid token) | 
| 
 | inline | 
Get id claim
| std::runtime_error | If claim was not present | 
| std::bad_cast | Claim was present but not a string (Should not happen in a valid token) | 
| 
 | inline | 
Get issued at claim
| std::runtime_error | If claim was not present | 
| std::bad_cast | Claim was present but not a date (Should not happen in a valid token) | 
| 
 | inline | 
Get issuer claim
| std::runtime_error | If claim was not present | 
| std::bad_cast | Claim was present but not a string (Should not happen in a valid token) | 
| 
 | inline | 
Get not valid before claim
| std::runtime_error | If claim was not present | 
| std::bad_cast | Claim was present but not a date (Should not happen in a valid token) | 
| 
 | inline | 
Get payload claim
| std::runtime_error | If claim was not present | 
| 
 | inline | 
Get subject claim
| std::runtime_error | If claim was not present | 
| std::bad_cast | Claim was present but not a string (Should not happen in a valid token) | 
| 
 | inlinenoexcept | 
Check if audience is present ("aud")
| 
 | inlinenoexcept | 
Check if expires is present ("exp")
| 
 | inlinenoexcept | 
Check if token id is present ("jti")
| 
 | inlinenoexcept | 
Check if issued at is present ("iat")
| 
 | inlinenoexcept | 
Check if issuer is present ("iss")
| 
 | inlinenoexcept | 
Check if not before is present ("nbf")
| 
 | inlinenoexcept | 
Check if a payload claim is present
| 
 | inlinenoexcept | 
Check if subject is present ("sub")