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"
10namespace tenduke {
namespace ee {
namespace licensing {
namespace impl {
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;
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
A tenduke::ee::licensing::LicensingClient, which automatically maintains OIDC-login session.
Definition StatefulLicensingClient.h:32
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
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4