Package net.openid.appauth
Class AuthorizationException.GeneralErrors
- java.lang.Object
-
- net.openid.appauth.AuthorizationException.GeneralErrors
-
- Enclosing class:
- AuthorizationException
public static final class AuthorizationException.GeneralErrors extends Object
Error codes specific to AppAuth for Android, rather than those defined in the OAuth2 and OpenID specifications.
-
-
Field Summary
Fields Modifier and Type Field Description static AuthorizationException
ID_TOKEN_PARSING_ERROR
Indicates that a received ID token could not be parsedstatic AuthorizationException
ID_TOKEN_VALIDATION_ERROR
Indicates that a received ID token is invalidstatic 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 atoken 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 Summary
Constructors Constructor Description GeneralErrors()
-
-
-
Field Detail
-
INVALID_DISCOVERY_DOCUMENT
public static final AuthorizationException INVALID_DISCOVERY_DOCUMENT
Indicates a problem parsing an OpenID Connect Service Discovery document.
-
USER_CANCELED_AUTH_FLOW
public static final AuthorizationException USER_CANCELED_AUTH_FLOW
Indicates the user manually canceled the OAuth authorization code flow.
-
PROGRAM_CANCELED_AUTH_FLOW
public static final AuthorizationException PROGRAM_CANCELED_AUTH_FLOW
Indicates an OAuth authorization flow was programmatically cancelled.
-
NETWORK_ERROR
public static final AuthorizationException NETWORK_ERROR
Indicates a network error occurred.
-
SERVER_ERROR
public static final AuthorizationException SERVER_ERROR
Indicates a server error occurred.
-
JSON_DESERIALIZATION_ERROR
public static final AuthorizationException JSON_DESERIALIZATION_ERROR
Indicates a problem occurred deserializing JSON.
-
TOKEN_RESPONSE_CONSTRUCTION_ERROR
public static final AuthorizationException TOKEN_RESPONSE_CONSTRUCTION_ERROR
Indicates a problem occurred constructing atoken response
object from the JSON provided by the server.
-
INVALID_REGISTRATION_RESPONSE
public static final AuthorizationException INVALID_REGISTRATION_RESPONSE
Indicates a problem parsing an OpenID Connect Registration Response.
-
ID_TOKEN_PARSING_ERROR
public static final AuthorizationException ID_TOKEN_PARSING_ERROR
Indicates that a received ID token could not be parsed
-
ID_TOKEN_VALIDATION_ERROR
public static final AuthorizationException ID_TOKEN_VALIDATION_ERROR
Indicates that a received ID token is invalid
-
-
Constructor Detail
-
GeneralErrors
public GeneralErrors()
-
-