Goby3  3.1.4
2024.02.22
jwt::verify_ops::date_before_claim< json_traits, in_header > Struct Template Reference

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

Public Member Functions

void operator() (const verify_context< json_traits > &ctx, std::error_code &ec) const
 

Public Attributes

const size_t leeway
 

Detailed Description

template<typename json_traits, bool in_header = false>
struct jwt::verify_ops::date_before_claim< json_traits, in_header >

Checks that the current time is before the time specified in the given claim. This is identical to how the "exp" check works.

Definition at line 3447 of file jwt.h.

Member Function Documentation

◆ operator()()

template<typename json_traits , bool in_header = false>
void jwt::verify_ops::date_before_claim< json_traits, in_header >::operator() ( const verify_context< json_traits > &  ctx,
std::error_code &  ec 
) const
inline

Definition at line 3450 of file jwt.h.

Member Data Documentation

◆ leeway

template<typename json_traits , bool in_header = false>
const size_t jwt::verify_ops::date_before_claim< json_traits, in_header >::leeway

Definition at line 3449 of file jwt.h.


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