1#ifndef TENDUKE_OIDC_DEVICE_OIDCDEVICEFLOWLOGIN_H
2#define TENDUKE_OIDC_DEVICE_OIDCDEVICEFLOWLOGIN_H
4#include "./OIDCDeviceFlow.h"
5#include "../../oauth/device/OAuthDeviceAuthorizationResponseReceived.h"
6#include "oidc/session/OIDCLogin.h"
25 const std::shared_ptr<const tenduke::oidc::device::OIDCDeviceFlow> &oidc,
31 std::unique_ptr<tenduke::oidc::OIDCLoginRequest>
login()
const override;
34 const std::string scope;
36 const std::shared_ptr<const tenduke::oidc::device::OIDCDeviceFlow> oidc;
OIDCDeviceFlowLogin(std::string scope, const std::shared_ptr< const tenduke::oidc::device::OIDCDeviceFlow > &oidc, oauth::device::OAuthDeviceAuthorizationResponseReceived &callback)
Constructs new instance.
Definition OIDCDeviceFlowLogin.cpp:22
A callback to denote that Device Authorization Response has been received.
Definition OAuthDeviceAuthorizationResponseReceived.h:21
High-level service to perform OIDC-login.
Definition OIDCLogin.h:13
std::unique_ptr< tenduke::oidc::OIDCLoginRequest > login() const override
Starts the login process by creating a login request.
Definition OIDCDeviceFlowLogin.cpp:13
OIDCDeviceFlowLogin(std::string scope, const std::shared_ptr< const tenduke::oidc::device::OIDCDeviceFlow > &oidc, oauth::device::OAuthDeviceAuthorizationResponseReceived &callback)
Constructs new instance.
Definition OIDCDeviceFlowLogin.cpp:22
OIDC-wrapping of OAuth Device Flow.
Definition DefaultOIDCDeviceAuthenticationRequest.h:11
Implementation of OpenID Connect protocol.
Definition AutoDiscovery.h:18
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4