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

#include <OIDCResourceOwnerPasswordLogin.h>

Detailed Description

OIDCLogin-service using OIDCResourceOwnerPasswordFlow.

Inheritance diagram for OIDCResourceOwnerPasswordLogin:
tenduke::oidc::OIDCLogin

Public Member Functions

 OIDCResourceOwnerPasswordLogin (const std::string &scope, std::uint32_t maxLoginAttempts, const std::shared_ptr<::tenduke::oidc::ropg::OIDCResourceOwnerPasswordFlow > &oidc, 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

◆ OIDCResourceOwnerPasswordLogin()

tenduke::oauth::ropg::OIDCResourceOwnerPasswordLogin::OIDCResourceOwnerPasswordLogin ( const std::string & scope,
std::uint32_t maxLoginAttempts,
const std::shared_ptr<::tenduke::oidc::ropg::OIDCResourceOwnerPasswordFlow > & oidc,
const std::map< std::string, std::string > & additionalParameters = {} )

Constructs new instance.

Parameters
scopeOAuth scope
maxLoginAttemptsmaximum number of login attempts
oidc-
additionalParametersadditional parameters for the request

Member Function Documentation

◆ login()

std::unique_ptr<::OIDCLoginRequest > tenduke::oauth::ropg::OIDCResourceOwnerPasswordLogin::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: