10Duke Enterprise C++ SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
DeviceAuthenticationConfig.h
1
#ifndef TENDUKE_OIDC_DEVICE_DEVICEAUTHENTICATIONCONFIG_H
2
#define TENDUKE_OIDC_DEVICE_DEVICEAUTHENTICATIONCONFIG_H
3
4
#include "../../oauth/device/OAuthDeviceAuthorizationResponseReceived.h"
5
#include "oidc/BaseOIDCAuthenticationConfig.h"
6
#include "oidc/session/OIDCSessionConfiguration.h"
7
8
#include <string>
9
10
namespace
tenduke
{
namespace
oidc
{
namespace
device
{
11
15
struct
DeviceAuthenticationConfig
:
public
::tenduke::oidc::BaseOIDCAuthenticationConfig
16
{
26
DeviceAuthenticationConfig
(
27
std::string
oauthClientId
28
,
oauth::device::OAuthDeviceAuthorizationResponseReceived
&
callback
29
,
::tenduke::oidc::OIDCSessionConfiguration
oidcSessionConfiguration
= {}
30
, std::string
scopes
= {}
31
) : ::
tenduke
::
oidc
::
BaseOIDCAuthenticationConfig
(
32
std::move(
oauthClientId
),
33
""
,
34
std::move(
oidcSessionConfiguration
),
35
std::move(
scopes
)
36
)
37
,
callback
(
callback
)
38
{}
39
41
::tenduke::oauth::device::OAuthDeviceAuthorizationResponseReceived
&
callback
;
42
};
43
44
}}}
45
46
#endif
//TENDUKE_OIDC_DEVICE_DEVICEAUTHENTICATIONCONFIG_H
tenduke::oauth::device::OAuthDeviceAuthorizationResponseReceived
A callback to denote that Device Authorization Response has been received.
Definition
OAuthDeviceAuthorizationResponseReceived.h:21
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::device
OIDC-wrapping of OAuth Device Flow.
Definition
DefaultOIDCDeviceAuthenticationRequest.h:11
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
DeviceAuthenticationConfig::DeviceAuthenticationConfig
DeviceAuthenticationConfig(std::string oauthClientId, oauth::device::OAuthDeviceAuthorizationResponseReceived &callback, ::tenduke::oidc::OIDCSessionConfiguration oidcSessionConfiguration={}, std::string scopes={})
Constructs a new instance.
Definition
DeviceAuthenticationConfig.h:26
tenduke::oidc::device::DeviceAuthenticationConfig::DeviceAuthenticationConfig
DeviceAuthenticationConfig(std::string oauthClientId, oauth::device::OAuthDeviceAuthorizationResponseReceived &callback, ::tenduke::oidc::OIDCSessionConfiguration oidcSessionConfiguration={}, std::string scopes={})
Constructs a new instance.
Definition
DeviceAuthenticationConfig.h:26
tenduke::oidc::device::DeviceAuthenticationConfig::callback
::tenduke::oauth::device::OAuthDeviceAuthorizationResponseReceived & callback
Callback, which gets called when a device authorization response has been received.
Definition
DeviceAuthenticationConfig.h:41
core
oidc
device
src
oidc
device
DeviceAuthenticationConfig.h
Generated by
1.17.0