RMS SDK for C++
0.2.1
A client library for using Microsoft RMS from Linux.
|
Implementation class for authentication callback. More...
#include <AuthenticationCallbackImpl.h>
Public Member Functions | |
AuthenticationCallbackImpl (IAuthenticationCallback &callback, const std::string &userId) | |
This class wraps an IAuthenticationCallback implementation to provide OAuth coordinates. More... | |
virtual bool | NeedsChallenge () const override |
False if OAuth coordinates (authority, resource, scope) are already known, True if these should be retrieved from challenge header in 401 Unauthorized response from API. | |
virtual std::string | GetAccessToken (const AuthenticationChallenge &challenge) override |
Prepares AuthenticationParameters from AuthenticationChallenge response, and passes these parameters to IAuthenticationCallback. More... | |
Implementation class for authentication callback.
|
inline |
This class wraps an IAuthenticationCallback implementation to provide OAuth coordinates.
callback | Authentication callback implementation. |
userId | User ID of the authentication requestor, to be passed to the IAuthenticationCallback. |
|
inlineoverridevirtual |
Prepares AuthenticationParameters from AuthenticationChallenge response, and passes these parameters to IAuthenticationCallback.
challenge | Package of coordinates received from API 401 Unauthorized response. |
Implements rmscore::modernapi::IAuthenticationCallbackImpl.