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"
13namespace tenduke {
namespace se {
namespace licensing {
28 const std::shared_ptr<const ::tenduke::json::JSONParser> &parseJSON,
29 const std::shared_ptr<const ::tenduke::jwt::JWTParser> &parseJWT
36 const std::string &licenseKey,
41 const std::shared_ptr<const ::tenduke::jwt::JWTParser> parseJWT;
A tenduke::se::APIRequest, which uses tenduke::oidc::OIDCSession to maintain request authorization.
Definition StatefulAPIRequest.h:27
Default implementation of tenduke::se::licensing::JWTToLease.
Definition DefaultJWTToLease.h:17
Default implementation of tenduke::se::licensing::LicenseTokenToLease.
Definition DefaultLicenseTokenToLease.h:20
Lease from(const std::string &licenseToken, const std::string &licenseKey, bool metered) const override
Converts the token toa lease.
Definition DefaultLicenseTokenToLease.cpp:11
Lease of a license.
Definition Lease.h:17
Converts license token to tenduke::se::licensing::Lease.
Definition LicenseTokenToLease.h:17
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7