10Duke Enterprise C++ Client
Loading...
Searching...
No Matches
tenduke::oauth::ropg::ResourceOwnerPasswordCredentialsProvider Class Referenceabstract

#include <ResourceOwnerPasswordCredentialsProvider.h>

Detailed Description

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.
 

Member Function Documentation

◆ getCredentials()

virtual ResourceOwnerPasswordCredentials tenduke::oauth::ropg::ResourceOwnerPasswordCredentialsProvider::getCredentials ( ) const
pure virtual

Returns the credentials.

Returns
-

The documentation for this class was generated from the following file: