10Duke Scale C++ Client
|
#include <DeviceAuthenticationConfig.h>
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::OAuthDeviceAuthorizationResponseReceived & | callback |
Callback, which gets called when device authorization response has been received. | |
|
inline |
Constructs new instance.
oauthClientId | OAuth client id. The value configured in the OAuth/OIDC backend and must match this parameter. |
callback | Callback, 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? |
oidcSessionConfiguration | OIDC session configuration. Optional. |
const std::string tenduke::oidc::device::DeviceAuthenticationConfig::oauthClientId |
OAuth client id.
The value configured in the OAuth/OIDC backend and must match this parameter.