10Duke Scale C++ Client
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)
 
std::unique_ptr<::OIDCStateexecute () override
 Performs the login.
 
void abort () override
 Aborts the login.
 

Public Attributes

std::chrono::milliseconds sleepFor
 
volatile std::uint64_t abortCalled
 

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: