Conscience Core
Public Member Functions | Public Attributes | List of all members
jwt::verify_ops::is_subset_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 basic_claim< json_traits >::set_t expected
 

Detailed Description

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

Checks if the given set is a subset of the set inside the token. If the token value is a string it is traited as a set of a single element. The comparison is case sensitive.

Member Function Documentation

◆ operator()()

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

Member Data Documentation

◆ expected

template<typename json_traits , bool in_header = false>
const basic_claim<json_traits>::set_t jwt::verify_ops::is_subset_claim< json_traits, in_header >::expected

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