1#ifndef TENDUKE_SE_LICENSING_DEFAULTLICENSINGCLIENT_H
2#define TENDUKE_SE_LICENSING_DEFAULTLICENSINGCLIENT_H
4#include "../../api/MutableLeases.h"
5#include "../../api/licenses/LicensingClient.h"
6#include "../../rest/licenses/ScaleLicensingApi.h"
7#include "oidc/session/OIDCSession.h"
11namespace tenduke {
namespace se {
namespace licensing {
30 const std::shared_ptr<::tenduke::oidc::OIDCSession> &oidc,
31 const std::shared_ptr<::tenduke::se::licensing::rest::ScaleLicensingApi> &restApi,
32 const std::shared_ptr<::tenduke::se::licensing::MutableLeases> &leases
57 const std::shared_ptr<::tenduke::oidc::OIDCSession> oidc;
58 const std::shared_ptr<::tenduke::se::licensing::rest::ScaleLicensingApi> restApi;
59 const std::shared_ptr<::tenduke::se::licensing::MutableLeases> leases;
Default implementation of tenduke::se::licensing::LicensingClient.
Definition DefaultLicensingClient.h:21
::tenduke::se::licensing::FluentLicenseCheckout checkoutLicenses() const override
Starts fluent license checkout.
Definition DefaultLicensingClient.cpp:160
::tenduke::se::licensing::LicenseKeyLicensesStatus describeLicenseKey(const std::string &licenseKey, const ::tenduke::se::Paging &paging, bool withMetadata) const override
Describe license key.
Definition DefaultLicensingClient.cpp:173
::tenduke::se::licensing::FluentStartMeteredUse startMeteredLicenseUse() const override
Starts fluently building "start-metered-license-use"-request.
Definition DefaultLicensingClient.cpp:344
::tenduke::se::licensing::LicenseCheckoutResponse checkoutLicensesWithKey(const std::string &licenseKey, const ::tenduke::se::licensing::LicenseCheckoutParameters ¶meters) const override
Checks out licenses with license key.
Definition DefaultLicensingClient.cpp:149
::tenduke::se::licensing::FluentLicenseHeartbeat heartbeatLicenses() const override
Starts fluent license heartbeat.
Definition DefaultLicensingClient.cpp:254
::tenduke::se::licensing::StartMeteredUseResponse startMeteredLicenseUseWithKey(const std::string &licenseKey, const ::tenduke::se::licensing::StartMeteredUseParameters ¶meters) const override
Starts metered license use with license key.
Definition DefaultLicensingClient.cpp:350
::tenduke::se::licensing::FluentLicenseRelease releaseLicenses() const override
Starts fluent license release.
Definition DefaultLicensingClient.cpp:324
Checks out licenses, building the request fluently.
Definition FluentLicenseCheckout.h:18
Heartbeats licenses, building the request fluently.
Definition FluentLicenseHeartbeat.h:18
Releases licenses, building the request fluently.
Definition FluentLicenseRelease.h:18
Starts metered license use, building the request fluently.
Definition FluentStartMeteredUse.h:18
Response from license checkout call.
Definition LicenseCheckoutResponse.h:17
Response from license heartbeat call.
Definition LicenseHeartbeatResponse.h:19
A REST-entity to describe licenses matching a license key.
Definition LicenseKeyLicensesStatus.h:14
Response from license release call.
Definition LicenseReleaseResponse.h:17
Client for licensing operations.
Definition LicensingClient.h:72
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7