10Duke Enterprise C++ SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
BrowserAuthenticationConfig.h
1
#ifndef TENDUKE_OIDC_OSBROWSER_BROWSERAUTHENTICATIONCONFIG_H
2
#define TENDUKE_OIDC_OSBROWSER_BROWSERAUTHENTICATIONCONFIG_H
3
4
#include "oidc/BaseOIDCAuthenticationConfig.h"
5
#include "oidc/session/OIDCSessionConfiguration.h"
6
7
#include <string>
8
9
namespace
tenduke
{
namespace
oidc
{
namespace
osbrowser
{
10
33
class
BrowserAuthenticationConfig
:
public
::tenduke::oidc::BaseOIDCAuthenticationConfig
34
{
35
public
:
47
BrowserAuthenticationConfig
(
48
std::string
oauthClientId
,
49
std::string oauthRedirectUri,
50
std::string
httpResponseAfterSuccessfulLogin
,
51
::tenduke::oidc::OIDCSessionConfiguration
oidcSessionConfiguration
= {},
52
std::string
scopes
= {}
53
) : ::
tenduke
::
oidc
::
BaseOIDCAuthenticationConfig
(
54
std::move(
oauthClientId
),
55
""
,
56
std::move(
oidcSessionConfiguration
),
57
std::move(
scopes
)
58
)
59
,
oauthRedirectURI
(std::move(oauthRedirectUri))
60
,
httpResponseAfterSuccessfulLogin
(std::move(
httpResponseAfterSuccessfulLogin
))
61
{}
62
63
public
:
67
const
std::string
oauthRedirectURI
;
68
73
const
std::string
httpResponseAfterSuccessfulLogin
;
74
};
75
76
}}}
77
78
79
#endif
//TENDUKE_OIDC_OSBROWSER_BROWSERAUTHENTICATIONCONFIG_H
BrowserAuthenticationConfig::BrowserAuthenticationConfig
BrowserAuthenticationConfig(std::string oauthClientId, std::string oauthRedirectUri, std::string httpResponseAfterSuccessfulLogin, ::tenduke::oidc::OIDCSessionConfiguration oidcSessionConfiguration={}, std::string scopes={})
Constructs a new instance.
Definition
BrowserAuthenticationConfig.h:47
tenduke::oidc::BaseOIDCAuthenticationConfig
Definition
BaseOIDCAuthenticationConfig.h:11
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::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::osbrowser::BrowserAuthenticationConfig::httpResponseAfterSuccessfulLogin
const std::string httpResponseAfterSuccessfulLogin
HTTP-response which is served after successful login.
Definition
BrowserAuthenticationConfig.h:73
tenduke::oidc::osbrowser::BrowserAuthenticationConfig::BrowserAuthenticationConfig
BrowserAuthenticationConfig(std::string oauthClientId, std::string oauthRedirectUri, std::string httpResponseAfterSuccessfulLogin, ::tenduke::oidc::OIDCSessionConfiguration oidcSessionConfiguration={}, std::string scopes={})
Constructs a new instance.
Definition
BrowserAuthenticationConfig.h:47
tenduke::oidc::osbrowser::BrowserAuthenticationConfig::oauthRedirectURI
const std::string oauthRedirectURI
OAuth redirect-URI.
Definition
BrowserAuthenticationConfig.h:67
tenduke::oidc::osbrowser
Services to perform OIDC-login using OS-browser with loopback redirection.
Definition
BrowserAuthenticationConfig.h:9
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
osbrowser
src
oidc
osbrowser
BrowserAuthenticationConfig.h
Generated by
1.17.0