10Duke Scale C++ Client
Loading...
Searching...
No Matches
tenduke::oidc::OIDCBrowserFlow Class Referenceabstract

#include <OIDCBrowserFlow.h>

Detailed Description

OpenID Connect -client.

This is low-level client, which builds OIDC-protocol on top of provided tenduke::oauth::OAuthClient.

Despite the name, there is no browser integration: The flow exposes methods which are used to interact with any browser.

Inheritance diagram for tenduke::oidc::OIDCBrowserFlow:
tenduke::oidc::OIDCClient tenduke::oidc::DefaultOIDCBrowserFlow tenduke::test::mocks::OIDCBrowserFlowMock

Public Member Functions

virtual std::unique_ptr< const tenduke::oidc::OIDCBrowserFlowAuthenticationRequestauthenticate (const std::string &scopes) const =0
 Creates OIDCRequest which performs the OIDC-authentication.
 
virtual std::unique_ptr< const tenduke::oidc::OIDCBrowserFlowAuthenticationRequestauthenticate (const std::string &scopes, const std::map< std::string, std::string > &additionalParameters) const =0
 Creates OIDCRequest which performs the OIDC-authentication.
 
- Public Member Functions inherited from tenduke::oidc::OIDCClient
virtual std::unique_ptr< const tenduke::oidc::OIDCRefreshRequestrefresh (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.
 

Member Function Documentation

◆ authenticate() [1/2]

virtual std::unique_ptr< const tenduke::oidc::OIDCBrowserFlowAuthenticationRequest > tenduke::oidc::OIDCBrowserFlow::authenticate ( const std::string &  scopes) const
pure virtual

Creates OIDCRequest which performs the OIDC-authentication.

Parameters
scopesscopes to authenticate / authorize
Returns
the request

Implemented in tenduke::oidc::DefaultOIDCBrowserFlow.

◆ authenticate() [2/2]

virtual std::unique_ptr< const tenduke::oidc::OIDCBrowserFlowAuthenticationRequest > tenduke::oidc::OIDCBrowserFlow::authenticate ( const std::string &  scopes,
const std::map< std::string, std::string > &  additionalParameters 
) const
pure virtual

Creates OIDCRequest which performs the OIDC-authentication.

Parameters
scopesscopes to authenticate / authorize
additionalParametersadditional parameters for the request
Returns
the request

Implemented in tenduke::oidc::DefaultOIDCBrowserFlow.


The documentation for this class was generated from the following file: