10Duke Enterprise C++ SDK
Loading...
Searching...
No Matches
OIDCClientCredentialsLogin Class Reference

#include <OIDCClientCredentialsGrantLogin.h>

Detailed Description

OIDCLogin-service using OIDCClientCredentialsGrantFlow.

Inheritance diagram for OIDCClientCredentialsLogin:
tenduke::oidc::OIDCLogin

Public Member Functions

 OIDCClientCredentialsLogin (const std::shared_ptr<::tenduke::oauth::ccg::OAuthClientCredentialsGrantFlow > &oauth, const std::string &scope="", const std::map< std::string, std::string > &additionalParameters={})
 Constructs new instance.
std::unique_ptr<::tenduke::oidc::OIDCLoginRequestlogin () const override
 Starts the login process by creating a login request.

Constructor & Destructor Documentation

◆ OIDCClientCredentialsLogin()

tenduke::oauth::ccg::OIDCClientCredentialsLogin::OIDCClientCredentialsLogin ( const std::shared_ptr<::tenduke::oauth::ccg::OAuthClientCredentialsGrantFlow > & oauth,
const std::string & scope = "",
const std::map< std::string, std::string > & additionalParameters = {} )
explicit

Constructs new instance.

Parameters
oauth-
scopeOAuth scope
additionalParametersadditional parameters for the request

Member Function Documentation

◆ login()

std::unique_ptr<::OIDCLoginRequest > tenduke::oauth::ccg::OIDCClientCredentialsLogin::login ( ) const
overridevirtual

Starts the login process by creating a login request.

Execute the login request to perform the login.

You can keep the login request to e.g. abort a long-running login.

Returns
login request.

Implements tenduke::oidc::OIDCLogin.


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