public static final class AuthorizationException.GeneralErrors
extends java.lang.Object
Error codes specific to AppAuth for Android, rather than those defined in the OAuth2 and OpenID specifications.
| Modifier and Type | Field and Description |
|---|---|
static AuthorizationException |
INVALID_DISCOVERY_DOCUMENT
Indicates a problem parsing an OpenID Connect Service Discovery document.
|
static AuthorizationException |
INVALID_REGISTRATION_RESPONSE
Indicates a problem parsing an OpenID Connect Registration Response.
|
static AuthorizationException |
JSON_DESERIALIZATION_ERROR
Indicates a problem occurred deserializing JSON.
|
static AuthorizationException |
NETWORK_ERROR
Indicates a network error occurred.
|
static AuthorizationException |
PROGRAM_CANCELED_AUTH_FLOW
Indicates an OAuth authorization flow was programmatically cancelled.
|
static AuthorizationException |
SERVER_ERROR
Indicates a server error occurred.
|
static AuthorizationException |
TOKEN_RESPONSE_CONSTRUCTION_ERROR
Indicates a problem occurred constructing a
token response object
from the JSON provided by the server. |
static AuthorizationException |
USER_CANCELED_AUTH_FLOW
Indicates the user manually canceled the OAuth authorization code flow.
|
| Constructor and Description |
|---|
GeneralErrors() |
public static final AuthorizationException INVALID_DISCOVERY_DOCUMENT
Indicates a problem parsing an OpenID Connect Service Discovery document.
public static final AuthorizationException USER_CANCELED_AUTH_FLOW
Indicates the user manually canceled the OAuth authorization code flow.
public static final AuthorizationException PROGRAM_CANCELED_AUTH_FLOW
Indicates an OAuth authorization flow was programmatically cancelled.
public static final AuthorizationException NETWORK_ERROR
Indicates a network error occurred.
public static final AuthorizationException SERVER_ERROR
Indicates a server error occurred.
public static final AuthorizationException JSON_DESERIALIZATION_ERROR
Indicates a problem occurred deserializing JSON.
public static final AuthorizationException TOKEN_RESPONSE_CONSTRUCTION_ERROR
Indicates a problem occurred constructing a token response object
from the JSON provided by the server.
public static final AuthorizationException INVALID_REGISTRATION_RESPONSE
Indicates a problem parsing an OpenID Connect Registration Response.