10Duke Scale C++ Client
Loading...
Searching...
No Matches
tenduke::jwt::JWTParser Class Referenceabstract

#include <JWTParser.h>

Detailed Description

Parses JWT.

Inheritance diagram for tenduke::jwt::JWTParser:
tenduke::jwt::DefaultJWTParser tenduke::test::mocks::JWTParserMock

Public Member Functions

virtual JWT from (const std::string &value) const =0
 Parses tenduke::jwt::JWT from given string.
 

Member Function Documentation

◆ from()

virtual JWT tenduke::jwt::JWTParser::from ( const std::string &  value) const
pure virtual

Parses tenduke::jwt::JWT from given string.

Exceptions
tenduke::jwt::JWTValidationExceptionif validation of the JWT signature fails
tenduke::jwt::JWTParsingException(possibly some subclass) if parsing fails.
std::nested_exceptionif there is nested cause. Following nested causes are known:

Implemented in tenduke::jwt::DefaultJWTParser.


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