10Duke Enterprise C++ Client
|
#include <ResourceOwnerPasswordCredentialsProvider.h>
A callback, which returns the credentials to use in Resource Owner Password Credentials Grant.
Instance of the callback is registered to the service (tenduke::oauth::ropg::OAuthResourceOwnerPasswordFlow). The callback is called when the authorization request is executed. The callback can return hardcoded values or for example show a graphical prompt to the user to collect the credentials.
Public Member Functions | |
virtual ResourceOwnerPasswordCredentials | getCredentials () const =0 |
Returns the credentials. | |
|
pure virtual |
Returns the credentials.