Class A3LSignInStatusCodes

java.lang.Object
com.amazon.A3L.authentication.api.signin.A3LSignInStatusCodes

public class A3LSignInStatusCodes extends Object
Replicates necessary GoogleSignInStatusCodes. Contains the possible status codes after trying authentication.
  • Field Details

    • INVALID_ACCOUNT

      public static final int INVALID_ACCOUNT
      Returns if the account logged into doesn't provide required information Constant Value: 5
      See Also:
    • NETWORK_ERROR

      public static final int NETWORK_ERROR
      A network error occurred. Retrying should resolve the problem. Constant Value: 7
      See Also:
    • INTERNAL_ERROR

      public static final int INTERNAL_ERROR
      An internal error occurred. Retrying should resolve the problem. Constant Value: 8
      See Also:
    • SIGN_IN_CANCELLED

      public static final int SIGN_IN_CANCELLED
      The 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

      public static String getStatusCodeString(int statusCode)
      Helper method to fetch the status code String from status code
      Parameters:
      statusCode - : status code for exception
      Returns:
      String: Status code String