10Duke Enterprise C++ Client
Loading...
Searching...
No Matches
tenduke::demo::ConsoleOIDCLoginRequest Class Reference

#include <ConsoleOIDCLoginRequest.h>

Detailed Description

Simple OIDC-login request, which uses console and any browser with developer tools to demonstrate how the browser integration should work.

See the source code of method execute() for details.

Inheritance diagram for tenduke::demo::ConsoleOIDCLoginRequest:
tenduke::oidc::OIDCLoginRequest

Public Member Functions

 ConsoleOIDCLoginRequest (const std::shared_ptr<::tenduke::oidc::OIDCBrowserFlow > &oidcClient, const std::string &oauthRedirectUri)
 
std::unique_ptr< tenduke::oidc::OIDCStateexecute () override
 Performs the login.
 
void abort () override
 Aborts the login.
 

Member Function Documentation

◆ abort()

void tenduke::demo::ConsoleOIDCLoginRequest::abort ( )
overridevirtual

Aborts the login.

This allows another thread to abort a dangling login process.

Implements tenduke::oidc::OIDCLoginRequest.

◆ execute()

std::unique_ptr<::OIDCState > tenduke::demo::ConsoleOIDCLoginRequest::execute ( )
overridevirtual

Performs the login.

Returns
new OIDCState describing the user session

Implements tenduke::oidc::OIDCLoginRequest.


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