10Duke Enterprise C++ Client
Loading...
Searching...
No Matches
createTendukeClient.h
1#ifndef TENDUKE_EE_CREATECLIENT_H
2#define TENDUKE_EE_CREATECLIENT_H
3
4#include "state/ClientState.h"
5#include "TendukeClient.h"
6#include "TendukeServices.h"
7#include "licensing/LicensingConfiguration.h"
8#include "oidc/session/OIDCLogin.h"
9#include "oidc/session/OIDCSessionConfiguration.h"
10
11#include <memory>
12
13namespace tenduke { namespace ee {
14
30std::unique_ptr<::tenduke::ee::TendukeClient> createClient(
31 const ::tenduke::TendukeServices &services,
32 const std::shared_ptr<::tenduke::ee::licensing::LicensingConfiguration> &licensingConfiguration,
33 const std::shared_ptr<const ::tenduke::oauth::OAuthConfiguration> &oauthConfiguration,
34 const std::shared_ptr<const ::tenduke::oidc::OIDCConfiguration> &oidcConfiguration,
35 const std::shared_ptr<::tenduke::oidc::OIDCLogin> &oidcLogin,
36 const ::tenduke::oidc::OIDCSessionConfiguration &oidcSessionConfiguration = {},
37 const ::tenduke::ee::ClientState &initialState = {}
38);
39
50std::unique_ptr<::tenduke::ee::TendukeClient> createClient(
51 const ::tenduke::TendukeServices &services,
52 const std::shared_ptr<::tenduke::ee::licensing::LicensingConfiguration> &licensingConfiguration,
53 const std::shared_ptr<const ::tenduke::oauth::OAuthConfiguration> &oauthConfiguration,
54 const std::shared_ptr<const ::tenduke::oidc::OIDCConfiguration> &oidcConfiguration,
55 const std::shared_ptr<::tenduke::oidc::OIDCSession> &oidcSession,
56 const ::tenduke::ee::ClientState &initialState = {}
57);
58
59}}
60
61#endif //TENDUKE_EE_CREATECLIENT_H
std::unique_ptr<::tenduke::ee::TendukeClient > createClient(const ::tenduke::TendukeServices &services, const std::shared_ptr<::tenduke::ee::licensing::LicensingConfiguration > &licensingConfiguration, const std::shared_ptr< const ::tenduke::oauth::OAuthConfiguration > &oauthConfiguration, const std::shared_ptr< const ::tenduke::oidc::OIDCConfiguration > &oidcConfiguration, const std::shared_ptr<::tenduke::oidc::OIDCLogin > &oidcLogin, const ::tenduke::oidc::OIDCSessionConfiguration &oidcSessionConfiguration={}, const ::tenduke::ee::ClientState &initialState={})
Factory function for creating tenduke::ee::TendukeClient.
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4