10Duke Enterprise C++ Client
Loading...
Searching...
No Matches
JWTParser Class Referenceabstract

#include <JWTParser.h>

Detailed Description

Parses JWT.

Inheritance diagram for 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:

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