10Duke Enterprise C++ Client
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
27 virtual ::tenduke::ee::licensing::Lease from(const std::string &licenseToken) const = 0;
28};
29
30}}}
31
32#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.
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4