10Duke Enterprise C++ Client
Loading...
Searching...
No Matches
tenduke::oidc::ccg::OIDCClientCredentialsGrantLoginRequest Class Reference

#include <OIDCClientCredentialsGrantLoginRequest.h>

Detailed Description

OIDC-login request using OAuth Client Credentials Grant.

Inheritance diagram for tenduke::oidc::ccg::OIDCClientCredentialsGrantLoginRequest:
tenduke::oidc::OIDCLoginRequest

Public Member Functions

 OIDCClientCredentialsGrantLoginRequest (std::unique_ptr< const ::tenduke::oauth::ccg::OAuthClientCredentialsGrantRequest > request)
 Constructs new instance.
 
std::unique_ptr<::tenduke::oidc::OIDCStateexecute () override
 Performs the login.
 
void abort () override
 Aborts the login.
 

Constructor & Destructor Documentation

◆ OIDCClientCredentialsGrantLoginRequest()

tenduke::oauth::ccg::OIDCClientCredentialsGrantLoginRequest::OIDCClientCredentialsGrantLoginRequest ( std::unique_ptr< const ::tenduke::oauth::ccg::OAuthClientCredentialsGrantRequest request)
explicit

Constructs new instance.

Parameters
request-

Member Function Documentation

◆ abort()

void tenduke::oauth::ccg::OIDCClientCredentialsGrantLoginRequest::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::oauth::ccg::OIDCClientCredentialsGrantLoginRequest::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: