Goby3  3.1.5a
2024.05.23
jwt::verify_ops::is_subset_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 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.

Definition at line 3488 of file jwt.h.

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

Definition at line 3491 of file jwt.h.

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

Definition at line 3490 of file jwt.h.


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