10Duke Enterprise C++ SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
ResourceOwnerPasswordCredentialsProvider.h
1
#ifndef TENDUKE_OAUTH_ROPG_RESOURCEOWNERPASSWORDCREDENTIALSPROVIDER_H
2
#define TENDUKE_OAUTH_ROPG_RESOURCEOWNERPASSWORDCREDENTIALSPROVIDER_H
3
4
#include <string>
5
6
namespace
tenduke
{
namespace
oauth
{
namespace
ropg {
7
11
struct
ResourceOwnerPasswordCredentials
12
{
13
ResourceOwnerPasswordCredentials(
14
const
std::string &username,
15
const
std::string &password
16
) : username(username)
17
, password(password)
18
{}
19
20
std::string username;
21
std::string password;
22
};
23
31
class
ResourceOwnerPasswordCredentialsProvider
32
{
33
public
:
34
virtual
~ResourceOwnerPasswordCredentialsProvider
() =
default
;
35
40
virtual
ResourceOwnerPasswordCredentials
getCredentials
()
const
= 0;
41
};
42
43
}}}
44
45
#endif
//TENDUKE_OAUTH_ROPG_RESOURCEOWNERPASSWORDCREDENTIALSPROVIDER_H
tenduke::oauth::ropg::ResourceOwnerPasswordCredentialsProvider
A callback, which returns the credentials to use in Resource Owner Password Credentials Grant.
Definition
ResourceOwnerPasswordCredentialsProvider.h:32
tenduke::oauth::ropg::ResourceOwnerPasswordCredentialsProvider::getCredentials
virtual ResourceOwnerPasswordCredentials getCredentials() const =0
Returns the credentials.
tenduke::oauth
OAuth services.
Definition
AccessTokenRequestAuthenticator.h:8
tenduke
Root for classes, functions and globals of 10Duke C++ Client.
Definition
APIRequest.h:4
tenduke::oauth::ropg::ResourceOwnerPasswordCredentials
Credentials for Resource Owner Password Credentials Grant.
Definition
ResourceOwnerPasswordCredentialsProvider.h:12
core
oidc
core
src
oauth
ropg
ResourceOwnerPasswordCredentialsProvider.h
Generated by
1.17.0