Class A3LSignInStatusCodes


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

      Fields 
      Modifier and Type Field Description
      static int INTERNAL_ERROR
      An internal error occurred.
      static int INVALID_ACCOUNT
      Returns if the account logged into doesn't provide required information Constant Value: 5
      static int NETWORK_ERROR
      A network error occurred.
      static int SIGN_IN_CANCELLED
      The sign in was cancelled by the user.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getStatusCodeString​(int statusCode)
      Helper method to fetch the status code String from status code
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • INVALID_ACCOUNT

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

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

        public static final int INTERNAL_ERROR
        An internal error occurred. Retrying should resolve the problem. Constant Value: 8
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
    • Constructor Detail

      • A3LSignInStatusCodes

        public A3LSignInStatusCodes()
    • Method Detail

      • getStatusCodeString

        public static java.lang.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