10Duke Enterprise C++ Client
Loading...
Searching...
No Matches
tenduke::ee::licensing::impl::StatefulReleaseRequest Class Reference

#include <StatefulReleaseRequest.h>

Detailed Description

Stateful implementation of tenduke::ee::licensing::LicenseReleaseRequest.

Inheritance diagram for tenduke::ee::licensing::impl::StatefulReleaseRequest:
tenduke::ee::licensing::authzapi::LicensingRequest< T >

Public Member Functions

 StatefulReleaseRequest (std::unique_ptr< tenduke::ee::licensing::authzapi::LicenseReleaseRequest > request, const std::shared_ptr< tenduke::oidc::OIDCSession > &oidc)
 Constructs new instance.
 
tenduke::ee::licensing::LicenseReleaseResponse execute () override
 Execute the request synchronously.
 

Protected Member Functions

virtual ::tenduke::ee::licensing::LicenseReleaseResponse reEstablishOIDCSessionAndRetry ()
 

Constructor & Destructor Documentation

◆ StatefulReleaseRequest()

tenduke::ee::licensing::impl::StatefulReleaseRequest::StatefulReleaseRequest ( std::unique_ptr< tenduke::ee::licensing::authzapi::LicenseReleaseRequest request,
const std::shared_ptr< tenduke::oidc::OIDCSession > &  oidc 
)

Constructs new instance.

Parameters
request-
oidc-

Member Function Documentation

◆ execute()

xdlic::LicenseReleaseResponse tenduke::ee::licensing::impl::StatefulReleaseRequest::execute ( )
overridevirtual

Execute the request synchronously.

Returns
the response. IMPORTANT: Failures (e.g. user does not have access to requested license) do not throw an exception, but are listed as failed items in the response.
Exceptions
tenduke::http::HTTPExceptione.g. internal server errors, invalid configuration (e.g. HTTP 404 not found) et al.
tenduke::json::JSONParsingExceptionJSON has errors (should not usually happen)
tenduke::ee::licensing::LicensingRequestFailuree.g. invalid response (not JSON)
tenduke::net::NetworkingExceptione.g. timeouts, networking communication problems
tenduke::TimedOutgeneric time outs

Implements tenduke::ee::licensing::authzapi::LicensingRequest< T >.


The documentation for this class was generated from the following files: