1#ifndef TENDUKE_SE_LICENSING_DEFAULTJWTTOLEASE_H
2#define TENDUKE_SE_LICENSING_DEFAULTJWTTOLEASE_H
4#include "../../api/Lease.h"
5#include "../../api/licenses/JWTToLease.h"
6#include "json/JSONParser.h"
23 explicit DefaultJWTToLease(
const std::shared_ptr<const ::tenduke::json::JSONParser> &jsonParser);
32 std::string licenseToken,
33 std::string licenseKey,
44 const std::shared_ptr<const ::tenduke::json::JSONParser> parseJSON;
DefaultJWTToLease(const std::shared_ptr< const ::tenduke::json::JSONParser > &jsonParser)
Constructs new instance.
Definition DefaultJWTToLease.cpp:98
Very simple JWT implementation.
Definition JWT.h:32
::tenduke::se::licensing::Lease from(const tenduke::jwt::JWT &jwt, std::string licenseToken, std::string licenseKey, bool metered) const override
Converts the parsed token to lease.
Definition DefaultJWTToLease.cpp:15
DefaultJWTToLease(const std::shared_ptr< const ::tenduke::json::JSONParser > &jsonParser)
Constructs new instance.
Definition DefaultJWTToLease.cpp:98
std::map< std::string, std::string > extractClientClaims(const ::tenduke::jwt::JWT &jwt) const
Extracts client-claims from the JWT.
Definition DefaultJWTToLease.cpp:76
std::vector< std::string > extractFeatures(const ::tenduke::jwt::JWT &jwt) const
Extracts features from the JWT.
Definition DefaultJWTToLease.cpp:57
Converts parsed license token into tenduke::se::licensing::Lease.
Definition JWTToLease.h:13
Lease of a license.
Definition Lease.h:17
Support for JSON Web Tokens.
Definition DefaultJWTParser.h:11
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