#include <JWTToLease.h>
Converts parsed license token into tenduke::se::licensing::Lease.
|
| 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.
|
| |
◆ from()
| virtual::tenduke::se::licensing::Lease tenduke::se::licensing::JWTToLease::from |
( |
const ::tenduke::jwt::JWT & | jwt, |
|
|
std::string | licenseToken, |
|
|
std::string | licenseKey, |
|
|
bool | metered ) const |
|
pure virtual |
Converts the parsed token to lease.
- Parameters
-
| 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" |
- Returns
- -
The documentation for this class was generated from the following file: