Class OAuthResponse


  • public class OAuthResponse
    extends Object
    The response from an OAuth token request.

    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 Detail

      • OAuthResponse

        public OAuthResponse()
    • Method Detail

      • getErrorCode

        public String getErrorCode()
      • getErrorSummary

        public String getErrorSummary()
      • getExpiresIn

        public int getExpiresIn()
      • getAccessToken

        public String getAccessToken()
      • getRefreshToken

        public String getRefreshToken()
      • getTokenType

        public String getTokenType()