10Duke Scale C++ Client
Loading...
Searching...
No Matches
tenduke::se::TendukeClientWithOIDCSessionImpl Class Reference

#include <TendukeClientWithOIDCSessionImpl.h>

Detailed Description

Inheritance diagram for tenduke::se::TendukeClientWithOIDCSessionImpl:
tenduke::se::TendukeClientWithOIDCSession tenduke::se::TendukeClient

Public Member Functions

 TendukeClientWithOIDCSessionImpl (const std::shared_ptr<::tenduke::se::licensing::LicensingClient > &licensingClient, const std::shared_ptr<::tenduke::se::licensing::MutableLeases > &leases, const std::shared_ptr<::tenduke::se::licensing::LicenseConsumers > &licenseConsumers, const std::shared_ptr<::tenduke::oidc::OIDCSession > &oidcSession, const std::shared_ptr< const ::tenduke::oauth::OAuthConfiguration > &oauthConfiguration, const std::shared_ptr< const ::tenduke::oidc::OIDCConfiguration > &oidcConfiguration, const std::shared_ptr<::tenduke::jwk::JWKS > &licenseTokenValidationKeys)
 Constructs new instance.
 
std::string serializeState () override
 Serializes the client state into a JSON.
 
- Public Member Functions inherited from tenduke::se::TendukeClientWithOIDCSession
 TendukeClientWithOIDCSession (const std::shared_ptr<::tenduke::se::licensing::LicensingClient > &licensingClient, const std::shared_ptr<::tenduke::se::licensing::MutableLeases > &leases, const std::shared_ptr<::tenduke::se::licensing::LicenseConsumers > &licenseConsumers, const std::shared_ptr<::tenduke::oidc::OIDCSession > &oidcSession)
 Constructs new instance.
 
- Public Member Functions inherited from tenduke::se::TendukeClient
 TendukeClient (const std::shared_ptr<::tenduke::se::licensing::LicensingClient > &licensingClient, const std::shared_ptr<::tenduke::se::licensing::MutableLeases > &leases)
 Creates new client.
 

Additional Inherited Members

- Public Attributes inherited from tenduke::se::TendukeClientWithOIDCSession
const std::shared_ptr<::tenduke::se::licensing::LicenseConsumerslicenseConsumers
 Service for querying information about licenses.
 
const std::shared_ptr<::tenduke::oidc::OIDCSessionoidcSession
 Service for maintaining the user login session.
 
- Public Attributes inherited from tenduke::se::TendukeClient
const std::shared_ptr<::tenduke::se::licensing::LicensingClientlicensing
 Licensing client.
 
const std::shared_ptr<::tenduke::se::licensing::MutableLeasesleases
 Lease-cache.
 

Constructor & Destructor Documentation

◆ TendukeClientWithOIDCSessionImpl()

tenduke::se::TendukeClientWithOIDCSessionImpl::TendukeClientWithOIDCSessionImpl ( const std::shared_ptr<::tenduke::se::licensing::LicensingClient > & licensingClient,
const std::shared_ptr<::tenduke::se::licensing::MutableLeases > & leases,
const std::shared_ptr<::tenduke::se::licensing::LicenseConsumers > & licenseConsumers,
const std::shared_ptr<::tenduke::oidc::OIDCSession > & oidcSession,
const std::shared_ptr< const ::tenduke::oauth::OAuthConfiguration > & oauthConfiguration,
const std::shared_ptr< const ::tenduke::oidc::OIDCConfiguration > & oidcConfiguration,
const std::shared_ptr<::tenduke::jwk::JWKS > & licenseTokenValidationKeys )

Constructs new instance.

Parameters
licensingClient-
leases-
licenseConsumers-
oidcSession-
oauthConfiguration-
oidcConfiguration-
licenseTokenValidationKeys-

Member Function Documentation

◆ serializeState()

std::string tenduke::se::TendukeClientWithOIDCSessionImpl::serializeState ( )
overridevirtual

Serializes the client state into a JSON.

This JSON can be stored to persist the state when the application is closed. The stored state can then be restored when the application is restarted.

Returns
-

Implements tenduke::se::TendukeClient.


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