10Duke Enterprise C++ SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
BaseOIDCAuthenticationConfig.h
1
#ifndef TENDUKE_OIDC_BASEOIDCAUTHENTICATIONCONFIG_H
2
#define TENDUKE_OIDC_BASEOIDCAUTHENTICATIONCONFIG_H
3
4
#include "oidc/session/OIDCSessionConfiguration.h"
5
6
#include <string>
7
8
namespace
tenduke
{
namespace
oidc
{
9
10
class
BaseOIDCAuthenticationConfig
11
{
12
public
:
13
virtual
~BaseOIDCAuthenticationConfig() =
default
;
14
15
explicit
BaseOIDCAuthenticationConfig(
16
std::string
oauthClientId
,
17
std::string
oauthClientSecret
= {},
18
::tenduke::oidc::OIDCSessionConfiguration
oidcSessionConfiguration
= {},
19
std::string
scopes
= {}
20
) :
oauthClientId
(std::move(
oauthClientId
))
21
,
oauthClientSecret
(std::move(
oauthClientSecret
))
22
,
oidcSessionConfiguration
(std::move(
oidcSessionConfiguration
))
23
,
scopes
(std::move(
scopes
))
24
{}
25
26
public
:
28
const
std::string
oauthClientId
;
29
33
const
std::string
oauthClientSecret
;
34
36
const ::tenduke::oidc::OIDCSessionConfiguration
oidcSessionConfiguration
;
37
39
const
std::string
scopes
;
40
};
41
42
}}
43
44
#endif
//TENDUKE_OIDC_BASEOIDCAUTHENTICATIONCONFIG_H
tenduke::oidc::BaseOIDCAuthenticationConfig::oauthClientId
const std::string oauthClientId
OAuth client id.
Definition
BaseOIDCAuthenticationConfig.h:28
tenduke::oidc::BaseOIDCAuthenticationConfig::scopes
const std::string scopes
OAuth/OIDC scopes to authorize.
Definition
BaseOIDCAuthenticationConfig.h:39
tenduke::oidc::BaseOIDCAuthenticationConfig::oauthClientSecret
const std::string oauthClientSecret
OAuth client secret.
Definition
BaseOIDCAuthenticationConfig.h:33
tenduke::oidc::BaseOIDCAuthenticationConfig::oidcSessionConfiguration
const ::tenduke::oidc::OIDCSessionConfiguration oidcSessionConfiguration
OIDC session configuration.
Definition
BaseOIDCAuthenticationConfig.h:36
tenduke::oidc::OIDCSessionConfiguration
Configuration for tenduke::oidc::OIDCSessionImpl.
Definition
OIDCSessionConfiguration.h:16
tenduke::oidc
Implementation of OpenID Connect protocol.
Definition
AutoDiscovery.h:18
tenduke
Root for classes, functions and globals of 10Duke C++ Client.
Definition
APIRequest.h:4
core
oidc
core
src
oidc
BaseOIDCAuthenticationConfig.h
Generated by
1.17.0