Enum FirebaseAuthError

  • All Implemented Interfaces:
    Serializable, Comparable<FirebaseAuthError>

    public enum FirebaseAuthError
    extends Enum<FirebaseAuthError>
    List of all possible results of FirebaseAuthException.getErrorCode() and their meanings. This is a temporary band-aid until we have better documentation and exposure for these error codes in the real Firebase Auth SDK.
    • Enum Constant Detail

      • ERROR_INVALID_CUSTOM_TOKEN

        public static final FirebaseAuthError ERROR_INVALID_CUSTOM_TOKEN
      • ERROR_CUSTOM_TOKEN_MISMATCH

        public static final FirebaseAuthError ERROR_CUSTOM_TOKEN_MISMATCH
      • ERROR_INVALID_CREDENTIAL

        public static final FirebaseAuthError ERROR_INVALID_CREDENTIAL
      • ERROR_REQUIRES_RECENT_LOGIN

        public static final FirebaseAuthError ERROR_REQUIRES_RECENT_LOGIN
      • ERROR_ACCOUNT_EXISTS_WITH_DIFFERENT_CREDENTIAL

        public static final FirebaseAuthError ERROR_ACCOUNT_EXISTS_WITH_DIFFERENT_CREDENTIAL
      • ERROR_EMAIL_ALREADY_IN_USE

        public static final FirebaseAuthError ERROR_EMAIL_ALREADY_IN_USE
      • ERROR_CREDENTIAL_ALREADY_IN_USE

        public static final FirebaseAuthError ERROR_CREDENTIAL_ALREADY_IN_USE
      • ERROR_USER_TOKEN_EXPIRED

        public static final FirebaseAuthError ERROR_USER_TOKEN_EXPIRED
      • ERROR_INVALID_USER_TOKEN

        public static final FirebaseAuthError ERROR_INVALID_USER_TOKEN
      • ERROR_OPERATION_NOT_ALLOWED

        public static final FirebaseAuthError ERROR_OPERATION_NOT_ALLOWED
      • ERROR_TOO_MANY_REQUESTS

        public static final FirebaseAuthError ERROR_TOO_MANY_REQUESTS
      • ERROR_EXPIRED_ACTION_CODE

        public static final FirebaseAuthError ERROR_EXPIRED_ACTION_CODE
      • ERROR_INVALID_ACTION_CODE

        public static final FirebaseAuthError ERROR_INVALID_ACTION_CODE
      • ERROR_INVALID_MESSAGE_PAYLOAD

        public static final FirebaseAuthError ERROR_INVALID_MESSAGE_PAYLOAD
      • ERROR_INVALID_RECIPIENT_EMAIL

        public static final FirebaseAuthError ERROR_INVALID_RECIPIENT_EMAIL
      • ERROR_MISSING_PASSWORD

        public static final FirebaseAuthError ERROR_MISSING_PASSWORD
      • ERROR_MISSING_PHONE_NUMBER

        public static final FirebaseAuthError ERROR_MISSING_PHONE_NUMBER
      • ERROR_INVALID_PHONE_NUMBER

        public static final FirebaseAuthError ERROR_INVALID_PHONE_NUMBER
      • ERROR_MISSING_VERIFICATION_CODE

        public static final FirebaseAuthError ERROR_MISSING_VERIFICATION_CODE
      • ERROR_INVALID_VERIFICATION_CODE

        public static final FirebaseAuthError ERROR_INVALID_VERIFICATION_CODE
      • ERROR_MISSING_VERIFICATION_ID

        public static final FirebaseAuthError ERROR_MISSING_VERIFICATION_ID
      • ERROR_INVALID_VERIFICATION_ID

        public static final FirebaseAuthError ERROR_INVALID_VERIFICATION_ID
      • ERROR_RETRY_PHONE_AUTH

        public static final FirebaseAuthError ERROR_RETRY_PHONE_AUTH
      • ERROR_APP_NOT_AUTHORIZED

        public static final FirebaseAuthError ERROR_APP_NOT_AUTHORIZED
      • ERROR_API_NOT_AVAILABLE

        public static final FirebaseAuthError ERROR_API_NOT_AVAILABLE
      • ERROR_WEB_CONTEXT_CANCELED

        public static final FirebaseAuthError ERROR_WEB_CONTEXT_CANCELED
    • Method Detail

      • values

        public static FirebaseAuthError[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (FirebaseAuthError c : FirebaseAuthError.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static FirebaseAuthError valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getDescription

        public String getDescription()