Microsoft Information Protection (MIP) SDK for C++: Reference 1.15
Doxygen-generated documentation for MIP SDK written in C++
|
Delegate for auth related operations. More...
#include <src/api/mip/common_types.h>
Classes | |
class | OAuth2Challenge |
a class that contains all the information required from the calling application in order to generate an oauth2 token. More... | |
class | OAuth2Token |
A class containing access token info provided by an application. More... | |
Public Member Functions | |
virtual bool | AcquireOAuth2Token (const Identity &identity, const OAuth2Challenge &challenge, const std::shared_ptr< void > &context, OAuth2Token &token) |
This method is called when an auth token is required for the policy engine with the given identity and the given challenge. | |
virtual bool | AcquireOAuth2Token (const Identity &identity, const OAuth2Challenge &challenge, OAuth2Token &token) |
This method is called when an auth token is required for the policy engine with the given identity and the given challenge. | |
Delegate for auth related operations.
Definition at line 322 of file common_types.h.
|
inlinevirtual |
This method is called when an auth token is required for the policy engine with the given identity and the given challenge.
The client should return whether acquiring token was successful. If successful, it should initialize the given token object.
identity | User for whom a token is requested |
challenge | OAuth2 challenge |
context | Opaque context that was passed to the MIP API by the host application |
token | [Output] Base64-encoded OAuth2 token |
Definition at line 463 of file common_types.h.
References AcquireOAuth2Token().
|
inlinevirtual |
This method is called when an auth token is required for the policy engine with the given identity and the given challenge.
The client should return whether acquiring token was successful. If successful, it should initialize the given token object.
identity | User for whom a token is requested |
challenge | OAuth2 challenge |
token | [Output] Base64-encoded OAuth2 token |
Definition at line 444 of file common_types.h.
Referenced by AcquireOAuth2Token().