Goby3  3.1.5a
2024.05.23
jwt::verify_ops::verify_context< json_traits > Struct Template Reference

#include <goby/util/thirdparty/jwt-cpp/jwt.h>

Public Member Functions

 verify_context (date ctime, const decoded_jwt< json_traits > &j, size_t l)
 
basic_claim< json_traits > get_claim (bool in_header, std::error_code &ec) const
 
basic_claim< json_traits > get_claim (bool in_header, json::type t, std::error_code &ec) const
 
basic_claim< json_traits > get_claim (std::error_code &ec) const
 
basic_claim< json_traits > get_claim (json::type t, std::error_code &ec) const
 

Public Attributes

date current_time
 
const decoded_jwt< json_traits > & jwt
 
size_t default_leeway {0}
 
json_traits::string_type claim_key {}
 

Detailed Description

template<typename json_traits>
struct jwt::verify_ops::verify_context< json_traits >

This is the base container which holds the token that need to be verified

Definition at line 3352 of file jwt.h.

Constructor & Destructor Documentation

◆ verify_context()

template<typename json_traits >
jwt::verify_ops::verify_context< json_traits >::verify_context ( date  ctime,
const decoded_jwt< json_traits > &  j,
size_t  l 
)
inline

Definition at line 3354 of file jwt.h.

Member Function Documentation

◆ get_claim() [1/4]

template<typename json_traits >
basic_claim<json_traits> jwt::verify_ops::verify_context< json_traits >::get_claim ( bool  in_header,
json::type  t,
std::error_code &  ec 
) const
inline

Definition at line 3390 of file jwt.h.

◆ get_claim() [2/4]

template<typename json_traits >
basic_claim<json_traits> jwt::verify_ops::verify_context< json_traits >::get_claim ( bool  in_header,
std::error_code &  ec 
) const
inline

Definition at line 3369 of file jwt.h.

◆ get_claim() [3/4]

template<typename json_traits >
basic_claim<json_traits> jwt::verify_ops::verify_context< json_traits >::get_claim ( json::type  t,
std::error_code &  ec 
) const
inline

Definition at line 3403 of file jwt.h.

◆ get_claim() [4/4]

template<typename json_traits >
basic_claim<json_traits> jwt::verify_ops::verify_context< json_traits >::get_claim ( std::error_code &  ec) const
inline

Definition at line 3402 of file jwt.h.

Member Data Documentation

◆ claim_key

template<typename json_traits >
json_traits::string_type jwt::verify_ops::verify_context< json_traits >::claim_key {}

Definition at line 3366 of file jwt.h.

◆ current_time

template<typename json_traits >
date jwt::verify_ops::verify_context< json_traits >::current_time

Definition at line 3359 of file jwt.h.

◆ default_leeway

template<typename json_traits >
size_t jwt::verify_ops::verify_context< json_traits >::default_leeway {0}

Definition at line 3363 of file jwt.h.

◆ jwt

template<typename json_traits >
const decoded_jwt<json_traits>& jwt::verify_ops::verify_context< json_traits >::jwt

Definition at line 3361 of file jwt.h.


The documentation for this struct was generated from the following file: