10Duke Enterprise C++ Client
Loading...
Searching...
No Matches
AuthzLicensingClient.h
1#ifndef TENDUKE_EE_LICENSING_AUTHZAPI_LICENSING_CLIENT_H
2#define TENDUKE_EE_LICENSING_AUTHZAPI_LICENSING_CLIENT_H
3
4#include "./LicenseCheckoutRequest.h"
5#include "./LicenseReleaseRequest.h"
6#include "./LicenseRenewRequest.h"
7#include "../checkout/LicenseCheckoutParameters.h"
8#include "../release/LicenseReleaseParameters.h"
9#include "../renew/LicenseRenewParameters.h"
10
11#include <memory>
12
13namespace tenduke { namespace ee { namespace licensing { namespace authzapi {
14
15
27{
28public:
29 virtual ~AuthzLicensingClient() = default;
30
39 virtual std::unique_ptr<tenduke::ee::licensing::authzapi::LicenseCheckoutRequest> checkout(const tenduke::ee::licensing::LicenseCheckoutParameters &parameters) const = 0;
40
49 virtual std::unique_ptr<tenduke::ee::licensing::authzapi::LicenseReleaseRequest> release(const tenduke::ee::licensing::LicenseReleaseParameters &parameters) const = 0;
50
59 virtual std::unique_ptr<::tenduke::ee::licensing::authzapi::LicenseRenewRequest> renew(const ::tenduke::ee::licensing::LicenseRenewParameters &parameters) const = 0;
60
61};
62
63
64}}}}
65
66#endif // TENDUKE_EE_LICENSING_AUTHZAPI_LICENSING_CLIENT_H
Parameters for license checkout request.
Definition LicenseCheckoutParameters.h:18
Parameters for license-release request.
Definition LicenseReleaseParameters.h:13
Low-level client for licensing operations using 10Duke /authz/-API.
Definition AuthzLicensingClient.h:27
virtual std::unique_ptr< tenduke::ee::licensing::authzapi::LicenseCheckoutRequest > checkout(const tenduke::ee::licensing::LicenseCheckoutParameters &parameters) const =0
Checks out license(s).
virtual std::unique_ptr<::tenduke::ee::licensing::authzapi::LicenseRenewRequest > renew(const ::tenduke::ee::licensing::LicenseRenewParameters &parameters) const =0
Renews leases of checked out license(s).
virtual std::unique_ptr< tenduke::ee::licensing::authzapi::LicenseReleaseRequest > release(const tenduke::ee::licensing::LicenseReleaseParameters &parameters) const =0
Releases checked out license(s).
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4