1#ifndef TENDUKE_SE_LICENSING_LICENSECHECKOUTRESPONSEITEM_H
2#define TENDUKE_SE_LICENSING_LICENSECHECKOUTRESPONSEITEM_H
9namespace tenduke {
namespace se {
namespace licensing {
67 ,
const std::vector<std::string> &
features
Lease of a license.
Definition Lease.h:17
Lease()
No-arg constructs new instance.
Definition Lease.cpp:14
bool neverExpires() const
Returns true if the lease never expires.
Definition Lease.cpp:7
const std::string licenseConsumerId
“licenseConsumerId” Identifier of the license consumer that checked out the licenses.
Definition Lease.h:127
const std::map< std::string, std::string > clientClaims
“clientClaims” A map echoing back the claims used by the client application to checkout the license.
Definition Lease.h:135
const std::string leaseId
"leaseId" Unique identifier of the current license checkout.
Definition Lease.h:105
const std::string licenseConsumerExternalReference
“licenseConsumerExternalReference” External reference identifier of the license consumer that checked...
Definition Lease.h:131
const std::string licenseConsumerEmail
“licenseConsumerEmail” Email of the license consumer that checked out the licenses.
Definition Lease.h:129
const std::string status
"status" Status flag: “success” or “error” indicating if the checkout succeeded or failed
Definition Lease.h:103
const std::string oldLeaseId
"oldLeaseId" Heartbeats generate new lease id.
Definition Lease.h:107
const std::int64_t issuedAtEpochS
“iat” Issued At: marks the time the License Token was issued.
Definition Lease.h:97
const std::string productConfigurationName
"productConfigurationName" Name of the product configuration used to create the license.
Definition Lease.h:113
const std::string keyId
JWT validation key id (claim "jki" from the JWT header).
Definition Lease.h:146
const std::string quantityDimension
“qtyDimension” Describes the quantity dimension of the licenses.
Definition Lease.h:123
const std::int64_t verifiedQuantity
“qtyVerified” Quantity that has been verified to be used.
Definition Lease.h:121
const std::string id
"jti" JWT ID: unique id of the license token, you may use this in the client application to prevent t...
Definition Lease.h:93
const std::string licenseConsumerConnectedIdentityId
“licenseConsumerConnectedIdentityId” Connected identity id of the license consumer that checked out t...
Definition Lease.h:133
const std::vector< std::string > features
“features” An array specifying what features the license enables.
Definition Lease.h:125
const std::int64_t timeOfEventEpochS
"toe” Time of Event: the checkout / last heartbeat timestamp recorded for the license checkout
Definition Lease.h:99
const std::string licenseId
Id of the license.
Definition Lease.h:115
const std::string token
Full token text from which this lease was parsed.
Definition Lease.h:140
const std::int64_t preallocatedQuantity
“qtyPrealloc” Quantity that was preallocated at time of checkout, applicable for use count and use ti...
Definition Lease.h:119
const std::int64_t heartbeatNotBeforeEpochS
"hbnbf" Heartbeat not before: the earliest allowed time when a checkout can be heartbeat.
Definition Lease.h:109
const std::string licenseKey
License key used to checkout this lease.
Definition Lease.h:142
static const std::int64_t NEVER_EXPIRES_EPOCH_S_MAGIC
Magic value for "expiresEpochS" which indicates that the lease never expires.
Definition Lease.h:87
const std::string type
"type" License type: DYNAMIC_PRODUCT or PRECONFIGURED_PRODUCT.
Definition Lease.h:117
const std::int64_t expiresEpochS
“exp” Expiration Time: marks the expiration time of the License and License Token as epoch seconds
Definition Lease.h:95
const std::string productName
"productName" Name of the product that the license allows to use.
Definition Lease.h:111
const bool metered
Was this lease checked out as metered?.
Definition Lease.h:144
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7