|
Orbit Framework 2.0.0
A high-performance asynchronous C++20 HTTP server framework.
|
Registered claims sign() adds. Claims already present in the payload win. More...
#include <JwtAuth.hpp>
Public Attributes | |
| std::chrono::seconds | expires_in {0} |
| "exp" = now + this; zero adds no "exp" | |
| std::chrono::seconds | not_before {0} |
| "nbf" = now + this; zero adds no "nbf" | |
| std::string | issuer |
| "iss", if set | |
| std::string | audience |
| "aud", if set | |
| std::string | subject |
| "sub", if set | |
Registered claims sign() adds. Claims already present in the payload win.
| std::string orbit::jwt::SignOptions::audience |
"aud", if set
| std::chrono::seconds orbit::jwt::SignOptions::expires_in {0} |
"exp" = now + this; zero adds no "exp"
| std::string orbit::jwt::SignOptions::issuer |
"iss", if set
| std::chrono::seconds orbit::jwt::SignOptions::not_before {0} |
"nbf" = now + this; zero adds no "nbf"
| std::string orbit::jwt::SignOptions::subject |
"sub", if set