Package com.dropbox.core.oauth
Class DbxOAuthError
- java.lang.Object
-
- com.dropbox.core.oauth.DbxOAuthError
-
public class DbxOAuthError extends java.lang.Object
This class provides deserialization for the error response returned from OAuth endpoint.
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.Set<java.lang.String>
ERRORS
static java.lang.String
INVALID_GRANT
static java.lang.String
INVALID_REQUEST
static JsonReader<DbxOAuthError>
Reader
static java.lang.String
UNKNOWN
static java.lang.String
UNSUPPORTED_GRANT_TYPE
-
Constructor Summary
Constructors Constructor Description DbxOAuthError(java.lang.String error, java.lang.String errorDescription)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getError()
java.lang.String
getErrorDescription()
-
-
-
Field Detail
-
INVALID_REQUEST
public static final java.lang.String INVALID_REQUEST
- See Also:
- Constant Field Values
-
INVALID_GRANT
public static final java.lang.String INVALID_GRANT
- See Also:
- Constant Field Values
-
UNSUPPORTED_GRANT_TYPE
public static final java.lang.String UNSUPPORTED_GRANT_TYPE
- See Also:
- Constant Field Values
-
UNKNOWN
public static final java.lang.String UNKNOWN
- See Also:
- Constant Field Values
-
ERRORS
public static final java.util.Set<java.lang.String> ERRORS
-
Reader
public static final JsonReader<DbxOAuthError> Reader
-
-