A class containing access token info provided by an application.
More...
#include <common_types.h>
A class containing access token info provided by an application.
◆ OAuth2Token() [1/2]
AuthDelegate::OAuth2Token::OAuth2Token |
( |
| ) |
|
|
inline |
◆ OAuth2Token() [2/2]
AuthDelegate::OAuth2Token::OAuth2Token |
( |
const std::string & | accessToken | ) |
|
|
inline |
Construct a new OAuth2Token object from JWT access token.
- Parameters
-
accessToken | JWT access token. |
◆ GetAccessToken()
const std::string & AuthDelegate::OAuth2Token::GetAccessToken |
( |
| ) |
const |
|
inline |
Get the access token string.
- Returns
- Access token string.
◆ GetErrorMessage()
const std::string & AuthDelegate::OAuth2Token::GetErrorMessage |
( |
| ) |
const |
|
inline |
Get the error message, if any.
- Returns
- Error message.
◆ SetAccessToken()
void AuthDelegate::OAuth2Token::SetAccessToken |
( |
const std::string & | accessToken | ) |
|
|
inline |
Set the access token string.
- Parameters
-
accessToken | Access token string. |
◆ SetErrorMessage()
void AuthDelegate::OAuth2Token::SetErrorMessage |
( |
const std::string & | errorMessage | ) |
|
|
inline |
Set the error message.
- Parameters
-
errorMessage | Error message. |
◆ mAccessToken
std::string AuthDelegate::OAuth2Token::mAccessToken |
|
private |
◆ mErrorMessage
std::string AuthDelegate::OAuth2Token::mErrorMessage |
|
private |
The documentation for this class was generated from the following file: