1#ifndef TENDUKE_SE_LICENSING_DEFAULTLICENSETOKENTOLEASE_H
2#define TENDUKE_SE_LICENSING_DEFAULTLICENSETOKENTOLEASE_H
4#include "./DefaultJWTToLease.h"
5#include "../../api/licenses/LicenseTokenToLease.h"
6#include "jwt/JWTParser.h"
7#include "json/JSONParser.h"
28 const std::shared_ptr<const ::tenduke::json::JSONParser> &parseJSON,
29 const std::shared_ptr<const ::tenduke::jwt::JWTParser> &parseJWT
35 const std::string &licenseToken,
36 const std::string &licenseKey,
41 const std::shared_ptr<const ::tenduke::jwt::JWTParser> parseJWT;
DefaultLicenseTokenToLease(const std::shared_ptr< const ::tenduke::json::JSONParser > &parseJSON, const std::shared_ptr< const ::tenduke::jwt::JWTParser > &parseJWT)
Constructs new instance.
Definition DefaultLicenseTokenToLease.cpp:21
Lease of a license.
Definition Lease.h:17
Default implementation of tenduke::se::licensing::JWTToLease.
Definition DefaultJWTToLease.h:17
DefaultLicenseTokenToLease(const std::shared_ptr< const ::tenduke::json::JSONParser > &parseJSON, const std::shared_ptr< const ::tenduke::jwt::JWTParser > &parseJWT)
Constructs new instance.
Definition DefaultLicenseTokenToLease.cpp:21
Lease from(const std::string &licenseToken, const std::string &licenseKey, bool metered) const override
Converts the token toa lease.
Definition DefaultLicenseTokenToLease.cpp:11
Converts license token to tenduke::se::licensing::Lease.
Definition LicenseTokenToLease.h:17
Licensing operations for 10Duke Scale.
Definition LicenseConsumerClientBindingStatus.h:8
Classes, functions and globals of 10Duke Scale C++ Client.
Definition AbstractClientFactory.h:16
Root for classes, functions and globals of 10Duke C++ Client.
Definition AbstractClientFactory.h:16