10Duke Enterprise C++ Client
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
8namespace tenduke { namespace oidc {
9
11{
12public:
13 virtual ~BaseOIDCAuthenticationConfig() = default;
14
16 const std::string &oauthClientId,
17 const std::string &oauthClientSecret = {},
18 const ::tenduke::oidc::OIDCSessionConfiguration &oidcSessionConfiguration = {},
19 const std::string scopes = {}
20 ) : oauthClientId(oauthClientId)
21 , oauthClientSecret(oauthClientSecret)
22 , oidcSessionConfiguration(oidcSessionConfiguration)
23 , scopes(std::move(scopes))
24 {}
25
26public:
27 const std::string oauthClientId;
28 const std::string oauthClientSecret;
29 const ::tenduke::oidc::OIDCSessionConfiguration oidcSessionConfiguration;
30 const std::string scopes;
31};
32
33}}
34
35#endif //TENDUKE_OIDC_BASEOIDCAUTHENTICATIONCONFIG_H
Definition BaseOIDCAuthenticationConfig.h:11
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4