10Duke Scale C++ Client
Loading...
Searching...
No Matches
OIDCDeviceFlow.h
1#ifndef TENDUKE_OIDC_DEVICE_OIDCDEVICEFLOW_H
2#define TENDUKE_OIDC_DEVICE_OIDCDEVICEFLOW_H
3
4#include "./OIDCDeviceAuthenticationRequest.h"
5#include "oidc/OIDCClient.h"
6
7#include <map>
8#include <memory>
9#include <string>
10
11namespace tenduke { namespace oidc { namespace device {
12
13
20{
21public:
27 virtual std::unique_ptr<tenduke::oidc::device::OIDCDeviceAuthenticationRequest> authenticate(
28 const std::string &scopes
29 ) const = 0;
30
37 virtual std::unique_ptr<tenduke::oidc::device::OIDCDeviceAuthenticationRequest> authenticate(
38 const std::string &scopes,
39 const std::map<std::string, std::string> &additionalProperties
40 ) const = 0;
41};
42
43}}}
44
45#endif //TENDUKE_OIDC_DEVICE_OIDCDEVICEFLOW_H
OpenID Connect -client.
Definition OIDCClient.h:22
OpenID Connect -client for OAuth Device Authorization Grant.
Definition OIDCDeviceFlow.h:20
virtual std::unique_ptr< tenduke::oidc::device::OIDCDeviceAuthenticationRequest > authenticate(const std::string &scopes, const std::map< std::string, std::string > &additionalProperties) const =0
Creates OIDCRequest which performs the OIDC-authentication.
virtual std::unique_ptr< tenduke::oidc::device::OIDCDeviceAuthenticationRequest > authenticate(const std::string &scopes) const =0
Creates OIDCRequest which performs the OIDC-authentication.
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7