Conscience Core
Public Member Functions | Public Attributes | List of all members
jwt::verify_ops::date_before_claim< json_traits, in_header > Struct Template Reference

#include <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.

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

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

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