1#ifndef TENDUKE_EE_LICENSING_IMPL_STATEFULLICENSINGCLIENT_H
2#define TENDUKE_EE_LICENSING_IMPL_STATEFULLICENSINGCLIENT_H
4#include "../LicensingClient.h"
5#include "../LicensingConfiguration.h"
6#include "../authz/AuthzLicensingClient.h"
7#include "oidc/session/OIDCSession.h"
41 const std::shared_ptr<const tenduke::ee::licensing::LicensingConfiguration> &configuration,
42 const std::shared_ptr<const tenduke::ee::licensing::authzapi::AuthzLicensingClient> &authzApi,
43 const std::shared_ptr<tenduke::oidc::OIDCSession> &oidcSession
56 const std::shared_ptr<const tenduke::ee::licensing::authzapi::AuthzLicensingClient> authzApi;
57 const std::shared_ptr<const tenduke::ee::licensing::LicensingConfiguration> configuration;
58 const std::shared_ptr<tenduke::oidc::OIDCSession> oidc;
StatefulLicensingClient(const std::shared_ptr< const tenduke::ee::licensing::LicensingConfiguration > &configuration, const std::shared_ptr< const tenduke::ee::licensing::authzapi::AuthzLicensingClient > &authzApi, const std::shared_ptr< tenduke::oidc::OIDCSession > &oidcSession)
Constructs new instance.
Definition StatefulLicensingClient.cpp:69
Utility for fluently building tenduke::ee::licensing::LicenseCheckoutRequest.
Definition FluentLicenseCheckout.h:30
Utility to release license(s) fluently.
Definition FluentLicenseRelease.h:15
Utility for fluently building tenduke::ee::licensing::authzapi::LicenseRenewRequest.
Definition FluentLicenseRenew.h:25
Parameters for license checkout request.
Definition LicenseCheckoutParameters.h:18
Response from license checkout request.
Definition LicenseCheckoutResponse.h:24
Parameters for license-release request.
Definition LicenseReleaseParameters.h:13
Response from tenduke::ee::licensing::LicenseReleaseRequest.
Definition LicenseReleaseResponse.h:18
Response from license renew -request.
Definition LicenseRenewResponse.h:14
High-level client for licensing operations.
Definition LicensingClient.h:47
tenduke::ee::licensing::FluentLicenseCheckout checkoutLicenses() const override
Checks out license(s) fluently.
Definition StatefulLicensingClient.cpp:31
tenduke::ee::licensing::FluentLicenseRelease releaseLicenses() const override
Releases checked out license(s) fluently.
Definition StatefulLicensingClient.cpp:47
tenduke::ee::licensing::LicenseReleaseResponse releaseLicenses(const tenduke::ee::licensing::LicenseReleaseParameters ¶meters) const override
Releases checked out license(s).
tenduke::ee::licensing::LicenseCheckoutResponse checkoutLicenses(const tenduke::ee::licensing::LicenseCheckoutParameters ¶meters) const override
Checks out license(s).
::tenduke::ee::licensing::FluentLicenseRenew renewLeases() const override
Renews leases fluently.
Definition StatefulLicensingClient.cpp:62
StatefulLicensingClient(const std::shared_ptr< const tenduke::ee::licensing::LicensingConfiguration > &configuration, const std::shared_ptr< const tenduke::ee::licensing::authzapi::AuthzLicensingClient > &authzApi, const std::shared_ptr< tenduke::oidc::OIDCSession > &oidcSession)
Constructs new instance.
Definition StatefulLicensingClient.cpp:69
Implementations of licensing related services.
Definition DefaultLicenseTokens.h:13
Classes, functions and globals related to 10Duke Enterprise licensing.
Definition AuthzLicensingClient.h:13
Classes, functions and globals of 10Duke Enterprise C++ Client.
Definition APIRequest.h:4
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4