10Duke Scale C++ Client
Loading...
Searching...
No Matches
LicenseTokenToLease.h
1#ifndef TENDUKE_SE_LICENSING_LICENSETOKENTOLEASE_H
2#define TENDUKE_SE_LICENSING_LICENSETOKENTOLEASE_H
3
4#include "../Lease.h"
5#include "jwt/JWTParser.h"
6
7#include <memory>
8#include <string>
9
10namespace tenduke { namespace se { namespace licensing {
11
17{
18public:
27 const std::string &licenseToken,
28 const std::string &licenseKey,
29 bool metered
30 ) const = 0;
31};
32
33}}}
34
35#endif //TENDUKE_SE_LICENSING_LICENSETOKENTOLEASE_H
Lease of a license.
Definition Lease.h:17
Converts license token to tenduke::se::licensing::Lease.
Definition LicenseTokenToLease.h:17
virtual tenduke::se::licensing::Lease from(const std::string &licenseToken, const std::string &licenseKey, bool metered) const =0
Converts the token toa lease.
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7