10Duke Scale C++ Client
Loading...
Searching...
No Matches
tenduke::se::licensing::LicenseTokenToLease Class Referenceabstract

#include <LicenseTokenToLease.h>

Detailed Description

Converts license token to tenduke::se::licensing::Lease.

License token is returned by the API. Also, serialization stores license tokens.

Inheritance diagram for tenduke::se::licensing::LicenseTokenToLease:
tenduke::se::licensing::DefaultLicenseTokenToLease

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.
 

Member Function Documentation

◆ from()

virtual tenduke::se::licensing::Lease tenduke::se::licensing::LicenseTokenToLease::from ( const std::string &  licenseToken,
const std::string &  licenseKey,
bool  metered 
) const
pure virtual

Converts the token toa lease.

Parameters
licenseTokenthe license token
licenseKeylicense key used in the operation. Pass empty string, if not used.
meteredflag to indicate if the operation was "metered use"
Returns
-

Implemented in tenduke::se::licensing::DefaultLicenseTokenToLease.


The documentation for this class was generated from the following file: