10Duke Enterprise C++ SDK
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:
51 std::string oauthClientId,
52 std::string oauthRedirectUri,
55 std::string scopes = {},
56 std::map<std::string, std::string> attributes = {}
57 ) : ::tenduke::oidc::BaseOIDCAuthenticationConfig(
58 std::move(oauthClientId),
59 "",
60 std::move(oidcSessionConfiguration),
61 std::move(scopes),
62 std::move(attributes)
63 )
64 , oauthRedirectURI(std::move(oauthRedirectUri))
66 {}
67
68public:
73 const std::string oauthRedirectURI;
74
80};
81
82}}}
83
84
85#endif //TENDUKE_OIDC_OSBROWSER_BROWSERAUTHENTICATIONCONFIG_H
BrowserAuthenticationConfig(std::string oauthClientId, std::string oauthRedirectUri, std::string httpResponseAfterSuccessfulLogin, ::tenduke::oidc::OIDCSessionConfiguration oidcSessionConfiguration={}, std::string scopes={}, std::map< std::string, std::string > attributes={})
Constructs a new instance.
Definition BrowserAuthenticationConfig.h:50
Definition BaseOIDCAuthenticationConfig.h:12
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 ::tenduke::oidc::OIDCSessionConfiguration oidcSessionConfiguration
OIDC session configuration.
Definition BaseOIDCAuthenticationConfig.h:39
Configuration for tenduke::oidc::OIDCSessionImpl.
Definition OIDCSessionConfiguration.h:16
const std::string httpResponseAfterSuccessfulLogin
HTTP-response which is served after successful login.
Definition BrowserAuthenticationConfig.h:79
const std::string oauthRedirectURI
OAuth redirect-URI.
Definition BrowserAuthenticationConfig.h:73
BrowserAuthenticationConfig(std::string oauthClientId, std::string oauthRedirectUri, std::string httpResponseAfterSuccessfulLogin, ::tenduke::oidc::OIDCSessionConfiguration oidcSessionConfiguration={}, std::string scopes={}, std::map< std::string, std::string > attributes={})
Constructs a new instance.
Definition BrowserAuthenticationConfig.h:50
Services to perform OIDC-login using OS-browser with loopback redirection.
Definition BrowserAuthenticationConfig.h:9
Implementation of OpenID Connect protocol.
Definition AutoDiscovery.h:17
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4