#include <DefaultJWTToLease.h>
|
|
std::vector< std::string > | extractFeatures (const ::tenduke::jwt::JWT &jwt) const |
| | Extracts features from the JWT.
|
| |
|
std::map< std::string, std::string > | extractClientClaims (const ::tenduke::jwt::JWT &jwt) const |
| | Extracts client-claims from the JWT.
|
| |
◆ DefaultJWTToLease()
| tenduke::se::licensing::DefaultJWTToLease::DefaultJWTToLease |
( |
const std::shared_ptr< const ::tenduke::json::JSONParser > & | jsonParser | ) |
|
|
explicit |
Constructs new instance.
- Parameters
-
◆ from()
| Lease tenduke::se::licensing::DefaultJWTToLease::from |
( |
const tenduke::jwt::JWT & | jwt, |
|
|
std::string | licenseToken, |
|
|
std::string | licenseKey, |
|
|
bool | metered ) const |
|
override |
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 files:
- api/src/licensing/impl/licenses/DefaultJWTToLease.h
- api/src/licensing/impl/licenses/DefaultJWTToLease.cpp