10Duke Scale C++ Client
Loading...
Searching...
No Matches
tenduke::oidc::device::DeviceAuthenticationConfig Struct Reference

#include <DeviceAuthenticationConfig.h>

Detailed Description

Configuration for OIDC device authentication.

Public Member Functions

 DeviceAuthenticationConfig (const std::string &oauthClientId, oauth::device::OAuthDeviceAuthorizationResponseReceived &callback, const ::tenduke::oidc::OIDCSessionConfiguration &oidcSessionConfiguration={})
 Constructs new instance.
 

Public Attributes

const std::string oauthClientId
 OAuth client id.
 
const ::tenduke::oidc::OIDCSessionConfiguration oidcSessionConfiguration
 OIDC session configuration.
 
::tenduke::oauth::device::OAuthDeviceAuthorizationResponseReceivedcallback
 Callback, which gets called when device authorization response has been received.
 

Constructor & Destructor Documentation

◆ DeviceAuthenticationConfig()

tenduke::oidc::device::DeviceAuthenticationConfig::DeviceAuthenticationConfig ( const std::string &  oauthClientId,
oauth::device::OAuthDeviceAuthorizationResponseReceived callback,
const ::tenduke::oidc::OIDCSessionConfiguration oidcSessionConfiguration = {} 
)
inline

Constructs new instance.

Parameters
oauthClientIdOAuth client id. The value configured in the OAuth/OIDC backend and must match this parameter.
callbackCallback, which gets called when device authorization response has been received. See documentation of the interface for rules. TODO: Should this be std::shared_ptr instead?
oidcSessionConfigurationOIDC session configuration. Optional.

Member Data Documentation

◆ oauthClientId

const std::string tenduke::oidc::device::DeviceAuthenticationConfig::oauthClientId

OAuth client id.

The value configured in the OAuth/OIDC backend and must match this parameter.


The documentation for this struct was generated from the following file: