JWT-CPP v0.7.0
A header only library for creating and validating JSON Web Tokens (JWT) in C++
Loading...
Searching...
No Matches
jwt::verify_ops::insensitive_string_claim< json_traits, in_header > Struct Template Reference

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


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