Microsoft Information Protection (MIP) SDK for C++: Reference 1.16
Doxygen-generated documentation for MIP SDK written in C++
|
A class containing access token info provided by an application. More...
#include <src/api/mip/common_types.h>
Public Member Functions | |
const std::string & | GetAccessToken () const |
Get the access token string. | |
const std::string & | GetErrorMessage () const |
Get the error message, if any. | |
OAuth2Token () | |
Construct a new OAuth2Token object. | |
OAuth2Token (const std::string &accessToken) | |
Construct a new OAuth2Token object from JWT access token. | |
void | SetAccessToken (const std::string &accessToken) |
Set the access token string. | |
void | SetErrorMessage (const std::string &errorMessage) |
Set the error message. | |
Private Attributes | |
std::string | mAccessToken |
std::string | mErrorMessage |
A class containing access token info provided by an application.
Definition at line 381 of file common_types.h.
|
inline |
|
inline |
Construct a new OAuth2Token object from JWT access token.
accessToken | JWT access token. |
Definition at line 393 of file common_types.h.
|
inline |
Get the access token string.
Definition at line 400 of file common_types.h.
References mAccessToken.
|
inline |
Get the error message, if any.
Definition at line 414 of file common_types.h.
References mErrorMessage.
|
inline |
Set the access token string.
accessToken | Access token string. |
Definition at line 407 of file common_types.h.
References mAccessToken.
|
inline |
Set the error message.
errorMessage | Error message. |
Definition at line 421 of file common_types.h.
References mErrorMessage.
|
private |
Definition at line 424 of file common_types.h.
Referenced by GetAccessToken(), and SetAccessToken().
|
private |
Definition at line 425 of file common_types.h.
Referenced by GetErrorMessage(), and SetErrorMessage().