10Duke Enterprise C++ SDK
Loading...
Searching...
No Matches
CCGAuthenticationConfig.h
1#ifndef TENDUKE_OIDC_CCG_CCGAUTHENTICATIONCONFIG_H
2#define TENDUKE_OIDC_CCG_CCGAUTHENTICATIONCONFIG_H
3
4#include "../BaseOIDCAuthenticationConfig.h"
5
6namespace tenduke { namespace oidc { namespace ccg {
7
12class CCGAuthenticationConfig : public BaseOIDCAuthenticationConfig
13{
14public:
25 std::string oauthClientId,
26 std::string oauthClientSecret,
28 std::string scopes = {},
29 std::map<std::string, std::string> attributes = {}
30 ) : BaseOIDCAuthenticationConfig(
31 std::move(oauthClientId),
32 std::move(oauthClientSecret),
33 std::move(oidcSessionConfiguration),
34 std::move(scopes),
35 std::move(attributes)
36 )
37 {}
38};
39
40}}}
41
42#endif //TENDUKE_OIDC_CCG_CCGAUTHENTICATIONCONFIG_H
CCGAuthenticationConfig(std::string oauthClientId, std::string oauthClientSecret, OIDCSessionConfiguration oidcSessionConfiguration={}, std::string scopes={}, std::map< std::string, std::string > attributes={})
Creates a new instance.
Definition CCGAuthenticationConfig.h:24
const std::map< std::string, std::string > attributes
Custom attributes.
Definition BaseOIDCAuthenticationConfig.h:45
const std::string oauthClientId
OAuth client id.
Definition BaseOIDCAuthenticationConfig.h:31
const std::string scopes
OAuth/OIDC scopes to authorize.
Definition BaseOIDCAuthenticationConfig.h:42
const std::string oauthClientSecret
OAuth client secret.
Definition BaseOIDCAuthenticationConfig.h:36
const ::tenduke::oidc::OIDCSessionConfiguration oidcSessionConfiguration
OIDC session configuration.
Definition BaseOIDCAuthenticationConfig.h:39
Configuration for tenduke::oidc::OIDCSessionImpl.
Definition OIDCSessionConfiguration.h:16
CCGAuthenticationConfig(std::string oauthClientId, std::string oauthClientSecret, OIDCSessionConfiguration oidcSessionConfiguration={}, std::string scopes={}, std::map< std::string, std::string > attributes={})
Creates a new instance.
Definition CCGAuthenticationConfig.h:24
Implementation of OpenID Connect protocol.
Definition AutoDiscovery.h:15
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4