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

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

Public Member Functions

 insensitive_string_claim (const typename json_traits::string_type &e, std::locale loc)
 
void operator() (const verify_context< json_traits > &ctx, std::error_code &ec) const
 

Static Public Member Functions

static std::string to_lower_unicode (const std::string &str, const std::locale &loc)
 

Public Attributes

const json_traits::string_type expected
 
std::locale locale
 

Detailed Description

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

Checks if the claim is a string and does an case insensitive comparison.

Definition at line 3527 of file jwt.h.

Constructor & Destructor Documentation

◆ insensitive_string_claim()

template<typename json_traits , bool in_header = false>
jwt::verify_ops::insensitive_string_claim< json_traits, in_header >::insensitive_string_claim ( const typename json_traits::string_type &  e,
std::locale  loc 
)
inline

Definition at line 3531 of file jwt.h.

Member Function Documentation

◆ operator()()

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

Definition at line 3536 of file jwt.h.

◆ to_lower_unicode()

template<typename json_traits , bool in_header = false>
static std::string jwt::verify_ops::insensitive_string_claim< json_traits, in_header >::to_lower_unicode ( const std::string &  str,
const std::locale &  loc 
)
inlinestatic

Definition at line 3547 of file jwt.h.

Member Data Documentation

◆ expected

template<typename json_traits , bool in_header = false>
const json_traits::string_type jwt::verify_ops::insensitive_string_claim< json_traits, in_header >::expected

Definition at line 3529 of file jwt.h.

◆ locale

template<typename json_traits , bool in_header = false>
std::locale jwt::verify_ops::insensitive_string_claim< json_traits, in_header >::locale

Definition at line 3530 of file jwt.h.


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