10Duke Scale C++ Client
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
9namespace tenduke { namespace oidc { namespace osbrowser {
10
34{
35public:
48 std::string oauthClientId,
49 std::string oauthRedirectUri,
52 std::string scopes = {}
54 std::move(oauthClientId),
55 "",
56 std::move(oidcSessionConfiguration),
57 std::move(scopes)
58 )
59 , oauthRedirectURI(std::move(oauthRedirectUri))
61 {}
62
63public:
67 const std::string oauthRedirectURI;
68
74};
75
76}}}
77
78
79#endif //TENDUKE_OIDC_OSBROWSER_BROWSERAUTHENTICATIONCONFIG_H
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
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 ::tenduke::oidc::OIDCSessionConfiguration oidcSessionConfiguration
OIDC session configuration.
Definition BaseOIDCAuthenticationConfig.h:36
Configuration for tenduke::oidc::OIDCSessionImpl.
Definition OIDCSessionConfiguration.h:16
const std::string httpResponseAfterSuccessfulLogin
HTTP-response which is served after successful login.
Definition BrowserAuthenticationConfig.h:73
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
const std::string oauthRedirectURI
OAuth redirect-URI.
Definition BrowserAuthenticationConfig.h:67
Services to perform OIDC-login using OS-browser with loopback redirection.
Definition BrowserAuthenticationConfig.h:9
Implementation of OpenID Connect protocol.
Definition AutoDiscovery.h:18
Root for classes, functions and globals of 10Duke C++ Client.
Definition AbstractClientFactory.h:16