10Duke Enterprise C++ Client
|
#include <AuthzLicensingClient.h>
Low-level client for licensing operations using 10Duke /authz/-API.
You probably want to use higher level client (see tenduke::ee::licensing::LicensingClient
).
This client is a factory, creating requests for actions like checkout. The created requests perform the actual call. The requests are reusable, which might be useful if you want to do re-try logic.
See https://docs.enterprise.10duke.com/developer-guide/consuming-licenses/consume-a-license/.
Public Member Functions | |
virtual std::unique_ptr< tenduke::ee::licensing::authzapi::LicenseCheckoutRequest > | checkout (const tenduke::ee::licensing::LicenseCheckoutParameters ¶meters) const =0 |
Checks out license(s). | |
virtual std::unique_ptr< tenduke::ee::licensing::authzapi::LicenseReleaseRequest > | release (const tenduke::ee::licensing::LicenseReleaseParameters ¶meters) const =0 |
Releases checked out license(s). | |
virtual std::unique_ptr<::tenduke::ee::licensing::authzapi::LicenseRenewRequest > | renew (const ::tenduke::ee::licensing::LicenseRenewParameters ¶meters) const =0 |
Renews leases of checked out license(s). | |
|
pure virtual |
Checks out license(s).
Creates a checkout request. Call tenduke::ee::licensing::authzapi::LicenseCheckoutRequest::execute()
on the request.
parameters | the request parameters |
Implemented in tenduke::ee::licensing::authzapi::DefaultAuthzLicensingClient.
|
pure virtual |
Releases checked out license(s).
Creates a release request. Call tenduke::ee::licensing::authzapi::LicenseReleaseRequest::execute()
on the request.
parameters | the request parameters |
Implemented in tenduke::ee::licensing::authzapi::DefaultAuthzLicensingClient.
|
pure virtual |
Renews leases of checked out license(s).
Creates a renew request. Call tenduke::ee::licensing::authzapi::LicenseRenewRequest::execute()
on the request.
parameters | the request parameters |
Implemented in tenduke::ee::licensing::authzapi::DefaultAuthzLicensingClient.