RMS SDK for C++  0.2.1
A client library for using Microsoft RMS from Linux.
Public Member Functions | List of all members
rmscore::modernapi::IAuthenticationCallback Class Referenceabstract

Implement this interface to provide an approach for getting an OAuth access token. More...

#include <IAuthenticationCallback.h>

Public Member Functions

virtual std::string GetToken (std::shared_ptr< AuthenticationParameters > &authenticationParameters)=0
 Override to return an access token clients can attach to outbound API calls. More...
 

Detailed Description

Implement this interface to provide an approach for getting an OAuth access token.

Apps should implement this interface, specifically the GetToken method, to return an access token for use by the API client.

Member Function Documentation

virtual std::string rmscore::modernapi::IAuthenticationCallback::GetToken ( std::shared_ptr< AuthenticationParameters > &  authenticationParameters)
pure virtual

Override to return an access token clients can attach to outbound API calls.

Parameters
[in]authenticationParametersCoordinates for OAuth calls. These are determined from a challenge returned by the RMS API.
Returns
A usable access token.

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