public class OAuthResponse extends Object
The first four attributes (error, errorCode, errorSummary, errorDescription) are populated in case of a failed request, and the other attributes are not set. The last attributes (expiresIn, accessToken, tokenType) are set after successful authentication. refreshToken is set when grant_type includes refresh_token (for U2M authentication).
Constructor and Description |
---|
OAuthResponse() |
Modifier and Type | Method and Description |
---|---|
String |
getAccessToken() |
String |
getErrorCode() |
String |
getErrorSummary() |
int |
getExpiresIn() |
String |
getRefreshToken() |
String |
getTokenType() |
Copyright © 2024. All rights reserved.