10Duke Scale C++ Client
Loading...
Searching...
No Matches
tenduke::oauth::device::OAuthDeviceAuthorizationResponseReceived Class Referenceabstract

#include <OAuthDeviceAuthorizationResponseReceived.h>

Detailed Description

A callback to denote that Device Authorization Response has been received.

This callback can be used by higher-level clients to signal that the response has been received and user interaction is required. The callback should display the URL and user code (or the complete URL) which the user must then use to navigate in browser to start the login.

The callback is synchronous and is executed in current thread (keep this mind if your UI framework uses separate UI-thread).

For details of the Device Authorization Response, see RFC 8628, 3.2. Device Authorization Response

Public Member Functions

virtual void callback (const tenduke::oauth::device::DeviceAuthorizationResponse &response)=0
 The response has been received.
 

Member Function Documentation

◆ callback()

virtual void tenduke::oauth::device::OAuthDeviceAuthorizationResponseReceived::callback ( const tenduke::oauth::device::DeviceAuthorizationResponse response)
pure virtual

The response has been received.

Parameters
responsethe response from the OAuth / OIDC server

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