Class A3LSignInStatusCodes
java.lang.Object
com.amazon.A3L.authentication.api.signin.A3LSignInStatusCodes
Replicates necessary
GoogleSignInStatusCodes.
Contains the possible status codes after trying authentication.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAn internal error occurred.static final intReturns if the account logged into doesn't provide required information Constant Value: 5static final intA network error occurred.static final intThe sign in was cancelled by the user. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetStatusCodeString(int statusCode) Helper method to fetch the status code String from status code
-
Field Details
-
INVALID_ACCOUNT
public static final int INVALID_ACCOUNTReturns if the account logged into doesn't provide required information Constant Value: 5- See Also:
-
NETWORK_ERROR
public static final int NETWORK_ERRORA network error occurred. Retrying should resolve the problem. Constant Value: 7- See Also:
-
INTERNAL_ERROR
public static final int INTERNAL_ERRORAn internal error occurred. Retrying should resolve the problem. Constant Value: 8- See Also:
-
SIGN_IN_CANCELLED
public static final int SIGN_IN_CANCELLEDThe sign in was cancelled by the user. i.e. user cancelled some of the sign in resolutions, e.g. account picking or OAuth consent. Constant Value: 12501- See Also:
-
-
Constructor Details
-
A3LSignInStatusCodes
public A3LSignInStatusCodes()
-
-
Method Details
-
getStatusCodeString
Helper method to fetch the status code String from status code- Parameters:
statusCode- : status code for exception- Returns:
- String: Status code String
-