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:
26 std::string oauthClientId,
27 std::string oauthClientSecret,
29 std::string scopes = {},
30 std::map<std::string, std::string> attributes = {}
31 ) : BaseOIDCAuthenticationConfig(
32 std::move(oauthClientId),
33 std::move(oauthClientSecret),
34 std::move(oidcSessionConfiguration),
35 std::move(scopes),
36 std::move(attributes)
37 )
38 {}
39};
40
41}}}
42
43#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:25
const std::map< std::string, std::string > attributes
Custom attributes, sent to the authorization server as additional request parameters.
Definition BaseOIDCAuthenticationConfig.h:54
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:25
Implementation of OpenID Connect protocol.
Definition AutoDiscovery.h:17
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4