10Duke Scale C++ SDK
Loading...
Searching...
No Matches
tenduke::test::oidc::FakeOIDCLoginRequest Class Reference
Inheritance diagram for tenduke::test::oidc::FakeOIDCLoginRequest:
tenduke::oidc::OIDCLoginRequest

Public Member Functions

 FakeOIDCLoginRequest (const std::chrono::milliseconds &sleepFor)
 
 FakeOIDCLoginRequest (const std::chrono::milliseconds &sleepFor, const std::shared_ptr< StateRecorder > &detector)
 
std::unique_ptr<::OIDCStateexecute () override
 Performs the login.
 
void abort () override
 Aborts the login.
 
void addAction (const std::string &action)
 

Public Attributes

std::chrono::milliseconds sleepFor
 
volatile std::uint64_t abortCalled
 
std::shared_ptr< StateRecorderrecorder
 

Member Function Documentation

◆ abort()

void tenduke::test::oidc::FakeOIDCLoginRequest::abort ( )
inlineoverridevirtual

Aborts the login.

This allows another thread to abort a dangling login process.

Implements tenduke::oidc::OIDCLoginRequest.

◆ execute()

std::unique_ptr<::OIDCState > tenduke::test::oidc::FakeOIDCLoginRequest::execute ( )
inlineoverridevirtual

Performs the login.

Returns
new OIDCState describing the user session

Implements tenduke::oidc::OIDCLoginRequest.


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