|
10Duke Scale C++ Client
|
#include <DeviceAuthenticationConfig.h>
Configuration for OIDC device authentication.
Public Member Functions | |
| DeviceAuthenticationConfig (std::string oauthClientId, oauth::device::OAuthDeviceAuthorizationResponseReceived &callback, ::tenduke::oidc::OIDCSessionConfiguration oidcSessionConfiguration={}, std::string scopes={}) | |
| Constructs a new instance. | |
Public Member Functions inherited from tenduke::oidc::BaseOIDCAuthenticationConfig | |
| BaseOIDCAuthenticationConfig (std::string oauthClientId, std::string oauthClientSecret={}, ::tenduke::oidc::OIDCSessionConfiguration oidcSessionConfiguration={}, std::string scopes={}) | |
Public Attributes | |
| ::tenduke::oauth::device::OAuthDeviceAuthorizationResponseReceived & | callback |
| Callback, which gets called when a device authorization response has been received. | |
Public Attributes inherited from tenduke::oidc::BaseOIDCAuthenticationConfig | |
| const std::string | oauthClientId |
| OAuth client id. | |
| const std::string | oauthClientSecret |
| OAuth client secret. | |
| const ::tenduke::oidc::OIDCSessionConfiguration | oidcSessionConfiguration |
| OIDC session configuration. | |
| const std::string | scopes |
| OAuth/OIDC scopes to authorize. | |
|
inline |
Constructs a 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. |
| scopes | OAuth scopes to authorize |