10Duke Enterprise C++ Client
Loading...
Searching...
No Matches
tenduke::ee::licensing::impl::DefaultOfflineLicenseTokenParser Class Reference
Inheritance diagram for tenduke::ee::licensing::impl::DefaultOfflineLicenseTokenParser:
tenduke::ee::licensing::OfflineLicenseTokenParser

Public Member Functions

 DefaultOfflineLicenseTokenParser (const std::shared_ptr< const ::tenduke::jwt::JWTParser > &jwtParser)
 
::tenduke::ee::licensing::Lease from (const std::string &licenseToken) const override
 Parses a single token from given string.
 

Protected Member Functions

virtual std::unique_ptr<::tenduke::ee::licensing::impl::LicenseTokenParsercreateLicenseTokenParser () const
 

Additional Inherited Members

- Static Public Member Functions inherited from tenduke::ee::licensing::OfflineLicenseTokenParser
static std::unique_ptr< OfflineLicenseTokenParsercreate (const std::string &validationKeyPEM)
 

Member Function Documentation

◆ from()

Lease tenduke::ee::licensing::impl::DefaultOfflineLicenseTokenParser::from ( const std::string &  licenseToken) const
overridevirtual

Parses a single token from given string.

Parameters
licenseTokenthe license token
Returns
parsed representation of the license token.
Exceptions
tenduke::ee::licensing::InvalidLicenseTokenif the string is not a license token
tenduke::jwt::JWTParsingExceptionif the license token is not a proper JWT

Implements tenduke::ee::licensing::OfflineLicenseTokenParser.


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