10Duke Scale C++ Client
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:
24 std::string oauthClientId,
25 std::string oauthClientSecret,
27 std::string scopes = {}
29 std::move(oauthClientId),
30 std::move(oauthClientSecret),
31 std::move(oidcSessionConfiguration),
32 std::move(scopes)
33 )
34 {}
35};
36
37}}}
38
39#endif //TENDUKE_OIDC_CCG_CCGAUTHENTICATIONCONFIG_H
Definition BaseOIDCAuthenticationConfig.h:11
const std::string oauthClientId
OAuth client id.
Definition BaseOIDCAuthenticationConfig.h:28
const std::string scopes
OAuth/OIDC scopes to authorize.
Definition BaseOIDCAuthenticationConfig.h:39
const std::string oauthClientSecret
OAuth client secret.
Definition BaseOIDCAuthenticationConfig.h:33
const ::tenduke::oidc::OIDCSessionConfiguration oidcSessionConfiguration
OIDC session configuration.
Definition BaseOIDCAuthenticationConfig.h:36
Configuration for tenduke::oidc::OIDCSessionImpl.
Definition OIDCSessionConfiguration.h:16
CCGAuthenticationConfig(std::string oauthClientId, std::string oauthClientSecret, OIDCSessionConfiguration oidcSessionConfiguration={}, std::string scopes={})
Creates a new instance.
Definition CCGAuthenticationConfig.h:23
Implementation of OpenID Connect protocol.
Definition AutoDiscovery.h:18
Root for classes, functions and globals of 10Duke C++ Client.
Definition AbstractClientFactory.h:16