10Duke Scale C++ Client
|
#include <JWTToLease.h>
Converts parsed license token into tenduke::se::licensing::Lease
.
Public Member Functions | |
virtual ::tenduke::se::licensing::Lease | from (const ::tenduke::jwt::JWT &jwt, std::string licenseToken, std::string licenseKey, bool metered) const =0 |
Converts the parsed token to lease. | |
|
pure virtual |
Converts the parsed token to lease.
jwt | the parsed token as JWT |
licenseToken | the serialized form of 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" |