10Duke Enterprise C++ Client
|
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::LicenseTokenParser > | createLicenseTokenParser () const |
Additional Inherited Members | |
Static Public Member Functions inherited from tenduke::ee::licensing::OfflineLicenseTokenParser | |
static std::unique_ptr< OfflineLicenseTokenParser > | create (const std::string &validationKeyPEM) |
|
overridevirtual |
Parses a single token from given string.
licenseToken | the license token |
tenduke::ee::licensing::InvalidLicenseToken | if the string is not a license token |
tenduke::jwt::JWTParsingException | if the license token is not a proper JWT |
Implements tenduke::ee::licensing::OfflineLicenseTokenParser.