10Duke Enterprise C++ SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
OAuthBackendConfiguration.h
1
#ifndef TENDUKE_OAUTH_OAUTHBACKENDCONFIGURATION_H
2
#define TENDUKE_OAUTH_OAUTHBACKENDCONFIGURATION_H
3
4
#include "crypto/PublicKey.h"
5
6
#include <memory>
7
#include <string>
8
#include <utility>
9
10
namespace
tenduke
{
namespace
oauth
{
11
12
16
class
OAuthBackendConfiguration
17
{
18
public
:
25
OAuthBackendConfiguration
(
26
std::string
authorizationEndpointUrl
,
27
std::string
tokenEndpointUrl
,
28
std::string
deviceAuthorizationEndpointUrl
=
""
29
) :
authorizationEndpointUrl
(std::move(
authorizationEndpointUrl
))
30
,
tokenEndpointUrl
(std::move(
tokenEndpointUrl
))
31
,
deviceAuthorizationEndpointUrl
(std::move(
deviceAuthorizationEndpointUrl
))
32
{}
33
35
const
std::string
authorizationEndpointUrl
;
36
38
const
std::string
deviceAuthorizationEndpointUrl
;
39
41
const
std::string
tokenEndpointUrl
;
42
};
43
44
45
}}
46
47
#endif
// TENDUKE_OAUTH_OAUTHBACKENDCONFIGURATION_H
OAuthBackendConfiguration::OAuthBackendConfiguration
OAuthBackendConfiguration(std::string authorizationEndpointUrl, std::string tokenEndpointUrl, std::string deviceAuthorizationEndpointUrl="")
Constructs new instance.
Definition
OAuthBackendConfiguration.h:25
tenduke::oauth::OAuthBackendConfiguration::tokenEndpointUrl
const std::string tokenEndpointUrl
URL for the OAuth 2 token endpoint.
Definition
OAuthBackendConfiguration.h:41
tenduke::oauth::OAuthBackendConfiguration::deviceAuthorizationEndpointUrl
const std::string deviceAuthorizationEndpointUrl
URL for the OAuth 2 device authorization endpoint.
Definition
OAuthBackendConfiguration.h:38
tenduke::oauth::OAuthBackendConfiguration::authorizationEndpointUrl
const std::string authorizationEndpointUrl
URL for the OAuth 2 authorization endpoint.
Definition
OAuthBackendConfiguration.h:35
tenduke::oauth::OAuthBackendConfiguration::OAuthBackendConfiguration
OAuthBackendConfiguration(std::string authorizationEndpointUrl, std::string tokenEndpointUrl, std::string deviceAuthorizationEndpointUrl="")
Constructs new instance.
Definition
OAuthBackendConfiguration.h:25
tenduke::oauth
OAuth services.
Definition
AccessTokenRequestAuthenticator.h:8
tenduke
Root for classes, functions and globals of 10Duke C++ Client.
Definition
APIRequest.h:4
core
oidc
core
src
oauth
OAuthBackendConfiguration.h
Generated by
1.17.0