10Duke Scale C++ Client
Loading...
Searching...
No Matches
OIDCDeviceFlowLoginRequest.h
1#ifndef TENDUKE_OIDC_DEVICE_OIDCDEVICEFLOWLOGINREQUEST_H
2#define TENDUKE_OIDC_DEVICE_OIDCDEVICEFLOWLOGINREQUEST_H
3
4#include "./OIDCDeviceAuthenticationRequest.h"
5#include "../../oauth/device/OAuthDeviceAuthorizationResponseReceived.h"
6#include "oidc/session/OIDCLoginRequest.h"
7
8namespace tenduke { namespace oidc { namespace device {
9
22{
23public:
30 std::unique_ptr<tenduke::oidc::device::OIDCDeviceAuthenticationRequest> request,
32 );
33
34 // `tenduke::oidc::OIDCLoginRequest` interface
35public:
36 std::unique_ptr<tenduke::oidc::OIDCState> execute() override;
37
38 void abort() override;
39
40private:
41 const std::unique_ptr<tenduke::oidc::device::OIDCDeviceAuthenticationRequest> request;
43};
44
45}}}
46
47#endif //TENDUKE_OIDC_DEVICE_OIDCDEVICEFLOWLOGINREQUEST_H
A callback to denote that Device Authorization Response has been received.
Definition OAuthDeviceAuthorizationResponseReceived.h:21
Login-request initiated by OIDCLogin-service.
Definition OIDCLoginRequest.h:15
Login request using OIDC with OAuth Device Authorization Grant.
Definition OIDCDeviceFlowLoginRequest.h:22
std::unique_ptr< tenduke::oidc::OIDCState > execute() override
Performs the login.
Definition OIDCDeviceFlowLoginRequest.cpp:8
void abort() override
Aborts the login.
Definition OIDCDeviceFlowLoginRequest.cpp:17
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7