10Duke Enterprise C++ SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
DefaultLicenseRenewRequest.h
1
#ifndef TENDUKE_EE_LICENSING_AUTHZAPI_DEFAULTLICENSERENEWREQUEST_H
2
#define TENDUKE_EE_LICENSING_AUTHZAPI_DEFAULTLICENSERENEWREQUEST_H
3
4
#include "./AbstractLicenseTokenAuthzApiRequest.h"
5
#include "../../../internal/licensing/LicensingConfigurationInternal.h"
6
#include "../../renew/LicenseRenewResponse.h"
7
#include "../../renew/LicenseRenewParameters.h"
8
9
#include "http/HTTPClient.h"
10
#include "http/HTTPRequestAuthenticator.h"
11
#include "http/HTTPResponseToException.h"
12
#include "jwt/JWTParser.h"
13
14
#include <memory>
15
#include <string>
16
#include <vector>
17
18
namespace
tenduke
{
namespace
ee
{
namespace
licensing
{
namespace
authzapi
{
19
23
class
DefaultLicenseRenewRequest
:
public
::tenduke::ee::licensing::authzapi::AbstractLicenseTokenAuthzApiRequest
<::tenduke::ee::licensing::LicenseRenewResponse>
24
{
25
public
:
35
DefaultLicenseRenewRequest
(
36
const
std::shared_ptr<const ::tenduke::http::HTTPClient> &httpClient,
37
const
std::shared_ptr<const ::tenduke::http::HTTPRequestAuthenticator> &httpRequestAuthenticator,
38
const
std::shared_ptr<const ::tenduke::http::HTTPResponseToException> &throwException,
39
const
std::shared_ptr<const ::tenduke::ee::licensing::impl::LicenseTokenParser> &licenseTokenParser,
40
const
std::shared_ptr<const ::tenduke::ee::licensing::LicensingConfigurationInternal> &configuration,
41
::tenduke::ee::licensing::LicenseRenewParameters
parameters
42
);
43
44
protected
:
45
void
buildRequestUrl
(
::tenduke::net::URLBuilder
&url)
const override
;
46
47
private
:
48
const
std::shared_ptr<const ::tenduke::ee::licensing::LicensingConfigurationInternal> configuration;
49
const ::tenduke::ee::licensing::LicenseRenewParameters parameters;
50
};
51
52
}}}}
53
54
#endif
//TENDUKE_EE_LICENSING_AUTHZAPI_DEFAULTLICENSERENEWREQUEST_H
DefaultLicenseRenewRequest::DefaultLicenseRenewRequest
DefaultLicenseRenewRequest(const std::shared_ptr< const ::tenduke::http::HTTPClient > &httpClient, const std::shared_ptr< const ::tenduke::http::HTTPRequestAuthenticator > &httpRequestAuthenticator, const std::shared_ptr< const ::tenduke::http::HTTPResponseToException > &throwException, const std::shared_ptr< const ::tenduke::ee::licensing::impl::LicenseTokenParser > &licenseTokenParser, const std::shared_ptr< const ::tenduke::ee::licensing::LicensingConfigurationInternal > &configuration, ::tenduke::ee::licensing::LicenseRenewParameters parameters)
Constructs new instance.
Definition
DefaultLicenseRenewRequest.cpp:53
tenduke::ee::licensing::LicenseRenewParameters
Parameters for license renew request.
Definition
LicenseRenewParameters.h:18
tenduke::ee::licensing::authzapi::AbstractLicenseTokenAuthzApiRequest
Base class for licensing requests, which return tokens.
Definition
AbstractLicenseTokenAuthzApiRequest.h:25
tenduke::ee::licensing::authzapi::DefaultLicenseRenewRequest::buildRequestUrl
void buildRequestUrl(::tenduke::net::URLBuilder &url) const override
Builds request URL.
Definition
DefaultLicenseRenewRequest.cpp:18
tenduke::ee::licensing::authzapi::DefaultLicenseRenewRequest::DefaultLicenseRenewRequest
DefaultLicenseRenewRequest(const std::shared_ptr< const ::tenduke::http::HTTPClient > &httpClient, const std::shared_ptr< const ::tenduke::http::HTTPRequestAuthenticator > &httpRequestAuthenticator, const std::shared_ptr< const ::tenduke::http::HTTPResponseToException > &throwException, const std::shared_ptr< const ::tenduke::ee::licensing::impl::LicenseTokenParser > &licenseTokenParser, const std::shared_ptr< const ::tenduke::ee::licensing::LicensingConfigurationInternal > &configuration, ::tenduke::ee::licensing::LicenseRenewParameters parameters)
Constructs new instance.
Definition
DefaultLicenseRenewRequest.cpp:53
tenduke::net::URLBuilder
Very simple URL-builder.
Definition
URLBuilder.h:23
tenduke::ee::licensing::authzapi
Low-level client for licensing operations using 10Duke authz-API.
Definition
AuthzLicensingClient.h:13
tenduke::ee::licensing
Classes, functions and globals related to 10Duke Enterprise licensing.
Definition
AuthzLicensingClient.h:13
tenduke::ee
Classes, functions and globals of 10Duke Enterprise C++ Client.
Definition
APIRequest.h:4
tenduke
Root for classes, functions and globals of 10Duke C++ Client.
Definition
APIRequest.h:4
client
enterprise
api
src
licensing
authz
impl
DefaultLicenseRenewRequest.h
Generated by
1.17.0