10Duke Enterprise C++ Client
|
#include <OIDCDeviceFlow.h>
OpenID Connect -client for OAuth Device Authorization Grant.
(RFC 8628).
This is low-level client, which adds OIDC-logic on top of OAuth Device Authorization Grant. For example of higher level client, see tenduke::oidc::device::OIDCDeviceFlowLogin
and its implementation.
Public Member Functions | |
virtual std::unique_ptr< tenduke::oidc::device::OIDCDeviceAuthenticationRequest > | authenticate (const std::string &scopes) const =0 |
Creates OIDCRequest which performs the OIDC-authentication. | |
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< const tenduke::oidc::OIDCRefreshRequest > | refresh (const std::shared_ptr< tenduke::oidc::OIDCState > &state) const =0 |
Refreshes the OIDC state. | |
virtual std::string | requestUserinfo (const std::string &accessToken) const =0 |
Requests user information from "userinfo"-endpoint. | |
|
pure virtual |
Creates OIDCRequest which performs the OIDC-authentication.
scopes | scopes to authenticate / authorize |
Implemented in tenduke::oidc::device::DefaultOIDCDeviceFlow.
|
pure virtual |
Creates OIDCRequest which performs the OIDC-authentication.
scopes | scopes to authenticate / authorize |
additionalProperties | additional properties added to the request |
Implemented in tenduke::oidc::device::DefaultOIDCDeviceFlow.