#include <jwt.h>
|
using | Value = rapidjson::Value |
|
using | Document = rapidjson::Document |
|
◆ Document
◆ Value
◆ Jwt()
◆ create() [1/2]
◆ create() [2/2]
Jwt helper::Jwt::create |
( |
const std::string & |
algoritym, |
|
|
Document & |
payload |
|
) |
| |
|
static |
◆ get_header_claim_algorithm()
std::string helper::Jwt::get_header_claim_algorithm |
( |
| ) |
const |
◆ get_header_claim_type()
std::string helper::Jwt::get_header_claim_type |
( |
| ) |
const |
◆ get_payload_claim_custom()
const Jwt::Value * helper::Jwt::get_payload_claim_custom |
( |
const std::string & |
name | ) |
const |
◆ get_payload_claim_names()
std::vector< std::string > helper::Jwt::get_payload_claim_names |
( |
| ) |
const |
◆ get_payload_names()
std::vector< std::string > helper::Jwt::get_payload_names |
( |
const Value & |
v | ) |
|
|
staticprivate |
◆ get_token()
std::string helper::Jwt::get_token |
( |
| ) |
const |
|
inline |
◆ is_valid()
bool helper::Jwt::is_valid |
( |
void |
| ) |
const |
◆ parse()
void helper::Jwt::parse |
( |
const std::string & |
token, |
|
|
JwtHolder * |
out |
|
) |
| |
|
static |
◆ sign()
std::string helper::Jwt::sign |
( |
const std::string & |
secret | ) |
const |
◆ verify()
bool helper::Jwt::verify |
( |
const std::string & |
secret | ) |
const |
◆ header_
◆ holder_
◆ payload_
◆ signature_
std::string helper::Jwt::signature_ |
|
private |
◆ valid_
bool helper::Jwt::valid_ {false} |
|
private |
The documentation for this class was generated from the following files:
- router/src/mysql_rest_service/include/helper/token/jwt.h
- router/src/mysql_rest_service/src/helper/token/jwt.cc