|
JWTXX
C++ library for JWT
|
Validation functions are here. More...
Functions | |
| Validator | exp (std::time_t now=std::time(nullptr)) noexcept |
| Constructs validator for 'exp' claim. | |
| Validator | nbf (std::time_t now=std::time(nullptr)) noexcept |
| Constructs validator for 'nbf' claim. | |
| Validator | iat (std::time_t now=std::time(nullptr)) noexcept |
| Constructs validator for 'iat' claim. | |
| Validator | iss (std::string issuer) noexcept |
| Constructs validator for 'iss' claim. | |
| Validator | aud (std::string audience) noexcept |
| Constructs validator for 'aud' claim. | |
| Validator | sub (std::string subject) noexcept |
| Constructs validator for 'sub' claim. | |
Validation functions are here.
|
noexcept |
Constructs validator for 'aud' claim.
| audience | valid audience. |
|
noexcept |
Constructs validator for 'exp' claim.
| now | current time, may be overriden. |
|
noexcept |
Constructs validator for 'iat' claim.
| now | current time, may be overriden. |
|
noexcept |
Constructs validator for 'iss' claim.
| issuer | valid issuer name. |
|
noexcept |
Constructs validator for 'nbf' claim.
| now | current time, may be overriden. |
|
noexcept |
Constructs validator for 'sub' claim.
| subject | valid subject name. |