public enum FirebaseAuthError extends Enum<FirebaseAuthError>
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.| Modifier and Type | Method and Description |
|---|---|
static FirebaseAuthError |
fromException(com.google.firebase.auth.FirebaseAuthException ex)
Get an
FirebaseAuthError from an exception, returning ERROR_UNKNOWN as
a default. |
String |
getDescription() |
static FirebaseAuthError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FirebaseAuthError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FirebaseAuthError ERROR_INVALID_CUSTOM_TOKEN
public static final FirebaseAuthError ERROR_CUSTOM_TOKEN_MISMATCH
public static final FirebaseAuthError ERROR_INVALID_CREDENTIAL
public static final FirebaseAuthError ERROR_INVALID_EMAIL
public static final FirebaseAuthError ERROR_WRONG_PASSWORD
public static final FirebaseAuthError ERROR_USER_MISMATCH
public static final FirebaseAuthError ERROR_REQUIRES_RECENT_LOGIN
public static final FirebaseAuthError ERROR_ACCOUNT_EXISTS_WITH_DIFFERENT_CREDENTIAL
public static final FirebaseAuthError ERROR_EMAIL_ALREADY_IN_USE
public static final FirebaseAuthError ERROR_CREDENTIAL_ALREADY_IN_USE
public static final FirebaseAuthError ERROR_USER_DISABLED
public static final FirebaseAuthError ERROR_USER_TOKEN_EXPIRED
public static final FirebaseAuthError ERROR_USER_NOT_FOUND
public static final FirebaseAuthError ERROR_INVALID_USER_TOKEN
public static final FirebaseAuthError ERROR_OPERATION_NOT_ALLOWED
public static final FirebaseAuthError ERROR_TOO_MANY_REQUESTS
public static final FirebaseAuthError ERROR_WEAK_PASSWORD
public static final FirebaseAuthError ERROR_EXPIRED_ACTION_CODE
public static final FirebaseAuthError ERROR_INVALID_ACTION_CODE
public static final FirebaseAuthError ERROR_INVALID_MESSAGE_PAYLOAD
public static final FirebaseAuthError ERROR_INVALID_RECIPIENT_EMAIL
public static final FirebaseAuthError ERROR_INVALID_SENDER
public static final FirebaseAuthError ERROR_MISSING_EMAIL
public static final FirebaseAuthError ERROR_MISSING_PASSWORD
public static final FirebaseAuthError ERROR_MISSING_PHONE_NUMBER
public static final FirebaseAuthError ERROR_INVALID_PHONE_NUMBER
public static final FirebaseAuthError ERROR_MISSING_VERIFICATION_CODE
public static final FirebaseAuthError ERROR_INVALID_VERIFICATION_CODE
public static final FirebaseAuthError ERROR_MISSING_VERIFICATION_ID
public static final FirebaseAuthError ERROR_INVALID_VERIFICATION_ID
public static final FirebaseAuthError ERROR_RETRY_PHONE_AUTH
public static final FirebaseAuthError ERROR_SESSION_EXPIRED
public static final FirebaseAuthError ERROR_QUOTA_EXCEEDED
public static final FirebaseAuthError ERROR_APP_NOT_AUTHORIZED
public static final FirebaseAuthError ERROR_API_NOT_AVAILABLE
public static final FirebaseAuthError ERROR_WEB_CONTEXT_CANCELED
public static final FirebaseAuthError ERROR_UNKNOWN
public static FirebaseAuthError[] values()
for (FirebaseAuthError c : FirebaseAuthError.values()) System.out.println(c);
public static FirebaseAuthError valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static FirebaseAuthError fromException(com.google.firebase.auth.FirebaseAuthException ex)
FirebaseAuthError from an exception, returning ERROR_UNKNOWN as
a default.public String getDescription()