| 
    10Duke Enterprise C++ Client
    
   | 
 
#include <OfflineLicenseTokenParser.h>
Service for parsing standalone license tokens.
  
Public Member Functions | |
| virtual::tenduke::ee::licensing::Lease | from (const std::string &licenseToken) const =0 | 
| Parses a single token from given string.   | |
Static Public Member Functions | |
| static std::unique_ptr< OfflineLicenseTokenParser > | create (const std::string &validationKeyPEM) | 
      
  | 
  pure virtual | 
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 | 
Implemented in DefaultOfflineLicenseTokenParser, and tenduke::ee::licensing::impl::DefaultOfflineLicenseTokenParser.