10Duke Enterprise C++ Client
Loading...
Searching...
No Matches
createTendukeClientForBrowser.h
1#ifndef TENDUKE_EE_CREATETENDUKECLIENTFORBROWSER_H
2#define TENDUKE_EE_CREATETENDUKECLIENTFORBROWSER_H
3
4#include "ServiceConfiguration.h"
5#include "./TendukeClient.h"
6#include "./config/ClientProperties.h"
7#include "./licensing/Lease.h"
8#include "./licensing/LicensingClient.h"
9#include "oidc/osbrowser/BrowserAuthenticationConfig.h"
10#include "oidc/session/OIDCSession.h"
11#include "oidc/session/OIDCSessionEventListener.h"
12#include "oidc/OIDCState.h"
13
14#include <chrono>
15#include <memory>
16
17
18namespace tenduke { namespace ee {
19
20
88std::unique_ptr<::tenduke::ee::TendukeClient> createClientUsingAutodiscovery(
89 const std::string &clientId,
90 const ::tenduke::ee::ClientProperties &clientProperties,
91 const std::string &serviceUrl,
92 const ::tenduke::oidc::osbrowser::BrowserAuthenticationConfig &authenticationConfig,
93 const std::string &initialStateAsJSON = {},
94 const ::tenduke::ServiceConfiguration &serviceConfiguration = ::tenduke::ServiceConfiguration()
95);
96
97
109std::vector<tenduke::ee::licensing::Lease> deserializeOfflineLicenseTokens(const std::string &serializedLeases);
110
111}}
112
113#endif //TENDUKE_EE_CREATETENDUKECLIENTFORBROWSER_H
Configuration for supporting services.
Definition ServiceConfiguration.h:12
std::unique_ptr<::tenduke::ee::TendukeClient > createClientUsingAutodiscovery(const std::string &clientId, const ::tenduke::ee::ClientProperties &clientProperties, const std::string &serviceUrl, const ::tenduke::oidc::osbrowser::BrowserAuthenticationConfig &authenticationConfig, const std::string &initialStateAsJSON={}, const ::tenduke::ServiceConfiguration &serviceConfiguration=::tenduke::ServiceConfiguration())
Creates client for 10Duke Enterprise, which authenticates user with default operating system browser.
std::vector< tenduke::ee::licensing::Lease > deserializeOfflineLicenseTokens(const std::string &serializedLeases)
Deserializes off-line license tokens.
Definition createTendukeClientForBrowser.cpp:37
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4