1#ifndef TENDUKE_OIDC_DEVICE_DEFAULTOIDCDEVICEFLOW_H
2#define TENDUKE_OIDC_DEVICE_DEFAULTOIDCDEVICEFLOW_H
4#include "./OIDCDeviceFlow.h"
5#include "../../oauth/device/OAuthDeviceFlow.h"
6#include "oidc/impl/BaseOIDCClient.h"
8namespace tenduke {
namespace oidc {
namespace device {
26 const std::shared_ptr<const tenduke::oauth::device::OAuthDeviceFlow> &oauthClient,
27 const std::shared_ptr<const tenduke::jwt::JWTParser> &jwtParser,
28 const std::shared_ptr<const tenduke::http::HTTPClient> &httpClient
33 std::unique_ptr<tenduke::oidc::device::OIDCDeviceAuthenticationRequest>
authenticate(
const std::string &scopes)
const override;
34 std::unique_ptr<tenduke::oidc::device::OIDCDeviceAuthenticationRequest>
authenticate(
35 const std::string &scopes,
36 const std::map<std::string, std::string> &additionalProperties
40 const std::shared_ptr<const tenduke::oauth::device::OAuthDeviceFlow>
oauth;
Base-class for OIDC-clients.
Definition BaseOIDCClient.h:22
const std::shared_ptr< const tenduke::oidc::OIDCConfiguration > oidcConfiguration
OIDC-configuration.
Definition BaseOIDCClient.h:71
Default implementation of tenduke::oidc::device::OIDCDeviceFlow.
Definition DefaultOIDCDeviceFlow.h:15
std::unique_ptr< tenduke::oidc::device::OIDCDeviceAuthenticationRequest > authenticate(const std::string &scopes) const override
Creates OIDCRequest which performs the OIDC-authentication.
Definition DefaultOIDCDeviceFlow.cpp:9
OpenID Connect -client for OAuth Device Authorization Grant.
Definition OIDCDeviceFlow.h:20
OAuth services.
Definition AccessTokenRequestAuthenticator.h:8
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4