|
10Duke Enterprise C++ Client
|
#include <AbstractLicenseTokenAuthzApiRequest.h>
Base class for licensing requests, which return tokens.
| T | type of the response |
Public Member Functions | |
| AbstractLicenseTokenAuthzApiRequest (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<::tenduke::log::Logger > logger) | |
| Constructs new instance.g. | |
Public Member Functions inherited from tenduke::ee::licensing::authzapi::AbstractAuthzApiRequest< T > | |
| AbstractAuthzApiRequest (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<::tenduke::log::Logger > &logger) | |
| Constructs new instance. | |
| T | execute () override |
| Executes the request. | |
Protected Member Functions | |
| T | parseResponsePayload (const std::string &payload) const override |
| Parses the response payload. | |
Protected Member Functions inherited from tenduke::ee::licensing::authzapi::AbstractAuthzApiRequest< T > | |
| virtual void | buildRequestUrl (::tenduke::net::URLBuilder &url) const =0 |
| Builds request URL. | |
|
inline |
Constructs new instance.g.
| httpClient | - |
| httpRequestAuthenticator | - |
| throwException | - |
| licenseTokenParser | - |
|
inlineoverrideprotectedvirtual |
Parses the response payload.
For token results, the payload is a string, which contains serialized JWTs separated by ampersand.
| payload | the payload |
Implements tenduke::ee::licensing::authzapi::AbstractAuthzApiRequest< T >.