10Duke Enterprise C++ SDK
Loading...
Searching...
No Matches
OfflineLicenseTokenParser.h
1#ifndef TENDUKE_CLIENT_EE_OFFLINELICENSETOKENPARSER_H
2#define TENDUKE_CLIENT_EE_OFFLINELICENSETOKENPARSER_H
3
4#include "./Lease.h"
5#include <memory>
6
7
8namespace tenduke { namespace ee { namespace licensing {
9
14{
15public:
16 static std::unique_ptr<OfflineLicenseTokenParser> create(const std::string &validationKeyPEM);
17
18 virtual ~OfflineLicenseTokenParser() = default;
19
32 virtual ::tenduke::ee::licensing::Lease from(
33 const std::string &licenseToken,
34 const std::string &licensedItemName
35 ) const = 0;
36
49 virtual ::tenduke::ee::licensing::Lease from(const std::string &licenseToken) const = 0;
50};
51
52}}}
53
54#endif //TENDUKE_CLIENT_EE_OFFLINELICENSETOKENPARSER_H
Service for parsing standalone license tokens.
Definition OfflineLicenseTokenParser.h:14
virtual::tenduke::ee::licensing::Lease from(const std::string &licenseToken) const =0
Parses a single token from given string, guessing the licensed item name.
virtual::tenduke::ee::licensing::Lease from(const std::string &licenseToken, const std::string &licensedItemName) const =0
Parses a single token of the given licensed item from given string.
Classes, functions and globals related to 10Duke Enterprise licensing.
Definition AuthzLicensingClient.h:13
Classes, functions and globals of 10Duke Enterprise C++ Client.
Definition APIRequest.h:4
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4