10Duke Enterprise C++ Client
Loading...
Searching...
No Matches
StatefulCheckoutRequest.h
1#ifndef TENDUKE_EE_LICENSING_STATEFULCHECKOUTREQUEST_H
2#define TENDUKE_EE_LICENSING_STATEFULCHECKOUTREQUEST_H
3
4#include "./StatefulCheckoutRequestTemplate.h"
5#include "../authz/LicenseCheckoutRequest.h"
6#include "../checkout/LicenseCheckoutResponse.h"
7#include "../../APIRequest.h"
8#include "oidc/session/OIDCSession.h"
9
10#include <memory>
11
12namespace tenduke { namespace ee { namespace licensing { namespace impl {
13
17class StatefulCheckoutRequest : public ::tenduke::ee::licensing::impl::StatefulCheckoutRequestTemplate<::tenduke::ee::licensing::LicenseCheckoutResponse>
18{
19public:
26 std::unique_ptr<tenduke::ee::licensing::authzapi::LicenseCheckoutRequest> request,
27 const std::shared_ptr<tenduke::oidc::OIDCSession> &oidc
28 ) : ::tenduke::ee::licensing::impl::StatefulCheckoutRequestTemplate<::tenduke::ee::licensing::LicenseCheckoutResponse>(
29 std::move(request),
30 oidc
31 )
32 {}
33};
34
35}}}}
36
37#endif //TENDUKE_EE_LICENSING_STATEFULCHECKOUTREQUEST_H
Response from license checkout request.
Definition LicenseCheckoutResponse.h:24
Common base for stateful checkout-like requests.
Definition StatefulCheckoutRequestTemplate.h:29
Stateful implementation of tenduke::ee::licensing::LicenseCheckoutRequest.
Definition StatefulCheckoutRequest.h:18
StatefulCheckoutRequest(std::unique_ptr< tenduke::ee::licensing::authzapi::LicenseCheckoutRequest > request, const std::shared_ptr< tenduke::oidc::OIDCSession > &oidc)
Constructs new instance.
Definition StatefulCheckoutRequest.h:25
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4