10Duke Enterprise C++ SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
OIDCResourceOwnerPasswordLogin.h
1
#ifndef TENDUKE_OIDC_ROPG_OIDCRESOURCEOWNERPASSWORDLOGIN_H
2
#define TENDUKE_OIDC_ROPG_OIDCRESOURCEOWNERPASSWORDLOGIN_H
3
4
#include "../session/OIDCLogin.h"
5
#include "./OIDCResourceOwnerPasswordFlow.h"
6
7
#include <memory>
8
9
namespace
tenduke
{
namespace
oidc
{
namespace
ropg {
10
14
class
OIDCResourceOwnerPasswordLogin :
public
::tenduke::oidc::OIDCLogin
15
{
16
public
:
17
OIDCResourceOwnerPasswordLogin(
18
const
std::string &scope,
19
std::uint32_t maxLoginAttempts,
20
const
std::shared_ptr<::tenduke::oidc::ropg::OIDCResourceOwnerPasswordFlow> &oidc
21
);
22
23
public
:
24
std::unique_ptr<::tenduke::oidc::OIDCLoginRequest>
login
()
const override
;
25
26
private
:
27
const
std::string scope;
28
const
std::uint32_t maxLoginAttempts;
29
30
const
std::shared_ptr<::tenduke::oidc::ropg::OIDCResourceOwnerPasswordFlow> oidc;
31
};
32
33
}}}
34
35
#endif
//TENDUKE_OIDC_ROPG_OIDCRESOURCEOWNERPASSWORDLOGIN_H
tenduke::oidc::OIDCLogin
High-level service to perform OIDC-login.
Definition
OIDCLogin.h:13
tenduke::oidc::ropg::OIDCResourceOwnerPasswordLogin::login
std::unique_ptr<::tenduke::oidc::OIDCLoginRequest > login() const override
Starts the login process by creating a login request.
Definition
OIDCResourceOwnerPasswordLogin.cpp:10
tenduke::oidc
Implementation of OpenID Connect protocol.
Definition
AutoDiscovery.h:18
tenduke
Root for classes, functions and globals of 10Duke C++ Client.
Definition
APIRequest.h:4
core
oidc
core
src
oidc
ropg
OIDCResourceOwnerPasswordLogin.h
Generated by
1.17.0