public static final enum

AuthError.ERROR_TYPE

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.amazon.identity.auth.device.AuthError.ERROR_TYPE

Class Overview

Each AuthError has a type to help clients determine what detailed action they want to take

Summary

Enum Values
AuthError.ERROR_TYPE  ERROR_ACCESS_DENIED  ACTION Invalid API Key - See logs for more info  
AuthError.ERROR_TYPE  ERROR_AUTH_DIALOG  INTERNAL Currently NOT used by Authorization SDK  
AuthError.ERROR_TYPE  ERROR_BAD_API_PARAM  BAD_REQUEST Currently NOT used by Authorization SDK  
AuthError.ERROR_TYPE  ERROR_BAD_PARAM  INTERNAL Bad parameter used by SDK  
AuthError.ERROR_TYPE  ERROR_COM  NETWORK Unable to connect when making network request  
AuthError.ERROR_TYPE  ERROR_DATA_STORAGE  INTERNAL Failure while using data storage  
AuthError.ERROR_TYPE  ERROR_DCP_DMS  ACTION Currently NOT used by Authorization SDK  
AuthError.ERROR_TYPE  ERROR_DIRECTED_ID_NOT_FOUND  BAD_REQUEST Currently NOT used by Authorization SDK  
AuthError.ERROR_TYPE  ERROR_FORCE_UPDATE  ACTION Currently NOT used by Authorization SDK  
AuthError.ERROR_TYPE  ERROR_INIT  BAD_REQUEST Currently NOT used by Authorization SDK  
AuthError.ERROR_TYPE  ERROR_INVALID_API  BAD_REQUEST Currently NOT used by Authorization SDK  
AuthError.ERROR_TYPE  ERROR_INVALID_CLIENT  ACTION Server has indicated the client is invalid. 
AuthError.ERROR_TYPE  ERROR_INVALID_GRANT  ACTION Server has indicated the client is not authorized to use the requested grant(s). 
AuthError.ERROR_TYPE  ERROR_INVALID_SCOPE  ACTION Server has indicated the current authorization does not have the requested scope. 
AuthError.ERROR_TYPE  ERROR_INVALID_TOKEN  ACTION Server has indicated an issue with the token/code parameters that were sent. 
AuthError.ERROR_TYPE  ERROR_IO  NETWORK IOException on HttpClient.execute  
AuthError.ERROR_TYPE  ERROR_JSON  INTERNAL JSONException when trying to create org.json.JSONObject from a server response (incorrect data or badly formatted json)  
AuthError.ERROR_TYPE  ERROR_MISSING_CODE_CHALLENGE  BAD_REQUEST Missing code challenge exception  
AuthError.ERROR_TYPE  ERROR_MISSING_TOKEN_FOR_REQUIRED_SCOPES  BAD_REQUEST Missing token for required scopes  
AuthError.ERROR_TYPE  ERROR_PARSE  INTERNAL Exception when trying to parse JSON response - typically when looking for an attribute in JSON that does not exist, but should  
AuthError.ERROR_TYPE  ERROR_REGISTRATION  ACTION Error during user registration  
AuthError.ERROR_TYPE  ERROR_RESOURCES  BAD_REQUEST Currently NOT used by Authorization SDK  
AuthError.ERROR_TYPE  ERROR_REVOKE_AUTH  INTERNAL Currently NOT used by Authorization SDK  
AuthError.ERROR_TYPE  ERROR_SECURITY  BAD_REQUEST Currently NOT used by Authorization SDK  
AuthError.ERROR_TYPE  ERROR_SERVER_REPSONSE  INTERNAL Server response data was incorrect  
AuthError.ERROR_TYPE  ERROR_THREAD  INTERNAL Failure due to thread usage  
AuthError.ERROR_TYPE  ERROR_UNAUTHORIZED_CLIENT  ACTION Server has indicated The authenticated client is not authorized to use this authorization grant type. 
AuthError.ERROR_TYPE  ERROR_UNKNOWN  UNKNOWN Unknown Exception  
AuthError.ERROR_TYPE  ERROR_WEBVIEW_SSL  ACTION Android OS is older than FROYO and an SSL error was seen on Sign-in. 
Public Methods
static AuthError.ERROR_TYPE fromValue(int value)
AuthError.ERROR_CATEGORY getCategory()
int value()
static AuthError.ERROR_TYPE valueOf(String name)
final static ERROR_TYPE[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final AuthError.ERROR_TYPE ERROR_ACCESS_DENIED

ACTION Invalid API Key - See logs for more info

public static final AuthError.ERROR_TYPE ERROR_AUTH_DIALOG

INTERNAL Currently NOT used by Authorization SDK

public static final AuthError.ERROR_TYPE ERROR_BAD_API_PARAM

BAD_REQUEST Currently NOT used by Authorization SDK

public static final AuthError.ERROR_TYPE ERROR_BAD_PARAM

INTERNAL Bad parameter used by SDK

public static final AuthError.ERROR_TYPE ERROR_COM

NETWORK Unable to connect when making network request

public static final AuthError.ERROR_TYPE ERROR_DATA_STORAGE

INTERNAL Failure while using data storage

public static final AuthError.ERROR_TYPE ERROR_DCP_DMS

ACTION Currently NOT used by Authorization SDK

public static final AuthError.ERROR_TYPE ERROR_DIRECTED_ID_NOT_FOUND

BAD_REQUEST Currently NOT used by Authorization SDK

public static final AuthError.ERROR_TYPE ERROR_FORCE_UPDATE

ACTION Currently NOT used by Authorization SDK

public static final AuthError.ERROR_TYPE ERROR_INIT

BAD_REQUEST Currently NOT used by Authorization SDK

public static final AuthError.ERROR_TYPE ERROR_INVALID_API

BAD_REQUEST Currently NOT used by Authorization SDK

public static final AuthError.ERROR_TYPE ERROR_INVALID_CLIENT

ACTION Server has indicated the client is invalid. If this Error is seen the developer should update their APIKey

public static final AuthError.ERROR_TYPE ERROR_INVALID_GRANT

ACTION Server has indicated the client is not authorized to use the requested grant(s). Local Authorization is invalidated. If this Error is seen trigger indication for the user to authorize again

public static final AuthError.ERROR_TYPE ERROR_INVALID_SCOPE

ACTION Server has indicated the current authorization does not have the requested scope. If this Error is seen trigger indication for the user to authorize again.

public static final AuthError.ERROR_TYPE ERROR_INVALID_TOKEN

ACTION Server has indicated an issue with the token/code parameters that were sent. If this Error is seen trigger indication for the user to sign-in again

public static final AuthError.ERROR_TYPE ERROR_IO

NETWORK IOException on HttpClient.execute

public static final AuthError.ERROR_TYPE ERROR_JSON

INTERNAL JSONException when trying to create org.json.JSONObject from a server response (incorrect data or badly formatted json)

public static final AuthError.ERROR_TYPE ERROR_MISSING_CODE_CHALLENGE

BAD_REQUEST Missing code challenge exception

public static final AuthError.ERROR_TYPE ERROR_MISSING_TOKEN_FOR_REQUIRED_SCOPES

BAD_REQUEST Missing token for required scopes

public static final AuthError.ERROR_TYPE ERROR_PARSE

INTERNAL Exception when trying to parse JSON response - typically when looking for an attribute in JSON that does not exist, but should

public static final AuthError.ERROR_TYPE ERROR_REGISTRATION

ACTION Error during user registration

public static final AuthError.ERROR_TYPE ERROR_RESOURCES

BAD_REQUEST Currently NOT used by Authorization SDK

public static final AuthError.ERROR_TYPE ERROR_REVOKE_AUTH

INTERNAL Currently NOT used by Authorization SDK

public static final AuthError.ERROR_TYPE ERROR_SECURITY

BAD_REQUEST Currently NOT used by Authorization SDK

public static final AuthError.ERROR_TYPE ERROR_SERVER_REPSONSE

INTERNAL Server response data was incorrect

public static final AuthError.ERROR_TYPE ERROR_THREAD

INTERNAL Failure due to thread usage

public static final AuthError.ERROR_TYPE ERROR_UNAUTHORIZED_CLIENT

ACTION Server has indicated The authenticated client is not authorized to use this authorization grant type.

public static final AuthError.ERROR_TYPE ERROR_UNKNOWN

UNKNOWN Unknown Exception

public static final AuthError.ERROR_TYPE ERROR_WEBVIEW_SSL

ACTION Android OS is older than FROYO and an SSL error was seen on Sign-in. This means the WebView will not display this to the user so we want the info to propagate to the client

Public Methods

public static AuthError.ERROR_TYPE fromValue (int value)

public AuthError.ERROR_CATEGORY getCategory ()

public int value ()

public static AuthError.ERROR_TYPE valueOf (String name)

public static final ERROR_TYPE[] values ()