1#ifndef TENDUKE_EE_CCGCLIENTFACTORY_H
2#define TENDUKE_EE_CCGCLIENTFACTORY_H
4#include "./AbstractClientFactory.h"
5#include "oidc/ccg/CCGAuthenticationConfig.h"
7namespace tenduke {
namespace ee {
32 const std::string &clientId,
46 const std::shared_ptr<const ::tenduke::oauth::OAuthConfiguration> &oauthConfiguration,
47 const std::shared_ptr<const ::tenduke::oidc::OIDCConfiguration> &oidcConfiguration,
48 const ::tenduke::oidc::ccg::CCGAuthenticationConfig &authenticationConfig
51 const ::tenduke::oauth::OAuthBackendConfiguration &oauthBackendConfiguration,
52 const ::tenduke::oidc::ccg::CCGAuthenticationConfig &authenticationConfig
Configuration for supporting services.
Definition ServiceConfiguration.h:12
Class template for factories, which create 10Duke client.
Definition AbstractClientFactory.h:26
Factory, which creates 10Duke Enterprise client, which authenticates user with OAuth Client Credentia...
Definition CCGClientFactory.h:21
std::shared_ptr<::tenduke::oauth::OAuthConfiguration > mkOAuthConfiguration(const ::tenduke::oauth::OAuthBackendConfiguration &oauthBackendConfiguration, const ::tenduke::oidc::ccg::CCGAuthenticationConfig &authenticationConfig) const override
Creates full OAuth-configuration.
Definition CCGClientFactory.cpp:17
std::shared_ptr<::tenduke::oidc::OIDCLogin > createOIDCLoginService(const std::shared_ptr< const ::tenduke::oauth::OAuthConfiguration > &oauthConfiguration, const std::shared_ptr< const ::tenduke::oidc::OIDCConfiguration > &oidcConfiguration, const ::tenduke::oidc::ccg::CCGAuthenticationConfig &authenticationConfig) const override
Creates the authentication-specific OIDC login service.
Definition CCGClientFactory.cpp:31
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4