|
10Duke Enterprise C++ SDK
|
#include <OIDCResourceOwnerPasswordLogin.h>
OIDCLogin-service using OIDCResourceOwnerPasswordFlow.
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::OIDCLoginRequest > | login () const override |
| Starts the login process by creating a login request. | |
| 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.
| scope | OAuth scope |
| maxLoginAttempts | maximum number of login attempts |
| oidc | - |
| additionalParameters | additional parameters for the request |
|
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.
Implements tenduke::oidc::OIDCLogin.