10Duke Enterprise C++ Client
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
6namespace tenduke { namespace oauth { namespace ropg {
7
12{
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
42
43}}}
44
45#endif //TENDUKE_OAUTH_ROPG_RESOURCEOWNERPASSWORDCREDENTIALSPROVIDER_H
A callback, which returns the credentials to use in Resource Owner Password Credentials Grant.
Definition ResourceOwnerPasswordCredentialsProvider.h:32
virtual ResourceOwnerPasswordCredentials getCredentials() const =0
Returns the credentials.
OAuth services.
Definition AccessTokenRequestAuthenticator.h:8
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4
Credentials for Resource Owner Password Credentials Grant.
Definition ResourceOwnerPasswordCredentialsProvider.h:12