10Duke Scale C++ Client
|
#include <LicenseTokenToLease.h>
Converts license token to tenduke::se::licensing::Lease
.
License token is returned by the API. Also, serialization stores license tokens.
Public Member Functions | |
virtual tenduke::se::licensing::Lease | from (const std::string &licenseToken, const std::string &licenseKey, bool metered) const =0 |
Converts the token toa lease. | |
|
pure virtual |
Converts the token toa lease.
licenseToken | the license token |
licenseKey | license key used in the operation. Pass empty string, if not used. |
metered | flag to indicate if the operation was "metered use" |
Implemented in tenduke::se::licensing::DefaultLicenseTokenToLease.