Package com.databricks.sdk.core.oauth
Class OAuthResponse
- java.lang.Object
-
- com.databricks.sdk.core.oauth.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 Summary
Constructors Constructor Description OAuthResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAccessToken()
String
getErrorCode()
String
getErrorSummary()
int
getExpiresIn()
String
getRefreshToken()
String
getTokenType()
-