1#ifndef TENDUKE_OAUTH_DEVICE_OAUTHDEVICEFLOWAUTHORIZATIONREQUEST_H
2#define TENDUKE_OAUTH_DEVICE_OAUTHDEVICEFLOWAUTHORIZATIONREQUEST_H
4#include "./DeviceAuthorizationResponse.h"
5#include "oauth/OAuthAuthorizationRequest.h"
6#include "oauth/OAuthState.h"
OAuth-request handles the OAuth authorization flow.
Definition OAuthAuthorizationRequest.h:12
Device Authorization Response.
Definition DeviceAuthorizationResponse.h:18
Authorization request for OAuth Device Flow.
Definition OAuthDeviceFlowAuthorizationRequest.h:23
virtual std::unique_ptr< tenduke::oauth::OAuthState > accessTokenRequest()=0
Performs Device Access Token Request.
virtual void cancel()=0
Marks the request canceled.
virtual tenduke::oauth::device::DeviceAuthorizationResponse authorizationRequest()=0
Performs Device Authorization Request.
const std::uint64_t DEVICEFLOW_DOES_NOT_TIMEOUT
"Magic" timeout value to denote that the request does not time out at the client end.
Definition OAuthDeviceFlowAuthorizationRequest.h:14
OAuth services.
Definition AccessTokenRequestAuthenticator.h:8
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4