public final enum

AuthErrorCode

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.google.firebase.auth.AuthErrorCode

Class Overview

Error codes that can be raised by the Firebase Auth APIs.

Summary

Enum Values
AuthErrorCode  CERTIFICATE_FETCH_FAILED  Failed to retrieve public key certificates required to verify JWTs. 
AuthErrorCode  CONFIGURATION_NOT_FOUND  No IdP configuration found for the given identifier. 
AuthErrorCode  EMAIL_ALREADY_EXISTS  A user already exists with the provided email. 
AuthErrorCode  EMAIL_NOT_FOUND  No user record found for the given email, typically raised when generating a password reset link using an email for a user that is not already registered. 
AuthErrorCode  EXPIRED_ID_TOKEN  The specified ID token is expired. 
AuthErrorCode  EXPIRED_SESSION_COOKIE  The specified session cookie is expired. 
AuthErrorCode  INVALID_DYNAMIC_LINK_DOMAIN  The provided dynamic link domain is not configured or authorized for the current project. 
AuthErrorCode  INVALID_ID_TOKEN  The specified ID token is invalid. 
AuthErrorCode  INVALID_SESSION_COOKIE  The specified session cookie is invalid. 
AuthErrorCode  PHONE_NUMBER_ALREADY_EXISTS  A user already exists with the provided phone number. 
AuthErrorCode  REVOKED_ID_TOKEN  The specified ID token has been revoked. 
AuthErrorCode  REVOKED_SESSION_COOKIE  The specified session cookie has been revoked. 
AuthErrorCode  TENANT_ID_MISMATCH  Tenant ID in the JWT does not match. 
AuthErrorCode  TENANT_NOT_FOUND  No tenant found for the given identifier. 
AuthErrorCode  UID_ALREADY_EXISTS  A user already exists with the provided UID. 
AuthErrorCode  UNAUTHORIZED_CONTINUE_URL  The domain of the continue URL is not whitelisted. 
AuthErrorCode  USER_DISABLED  The user record is disabled. 
AuthErrorCode  USER_NOT_FOUND  No user record found for the given identifier. 
Public Methods
static AuthErrorCode valueOf(String name)
final static AuthErrorCode[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final AuthErrorCode CERTIFICATE_FETCH_FAILED

Failed to retrieve public key certificates required to verify JWTs.

public static final AuthErrorCode CONFIGURATION_NOT_FOUND

No IdP configuration found for the given identifier.

public static final AuthErrorCode EMAIL_ALREADY_EXISTS

A user already exists with the provided email.

public static final AuthErrorCode EMAIL_NOT_FOUND

No user record found for the given email, typically raised when generating a password reset link using an email for a user that is not already registered.

public static final AuthErrorCode EXPIRED_ID_TOKEN

The specified ID token is expired.

public static final AuthErrorCode EXPIRED_SESSION_COOKIE

The specified session cookie is expired.

public static final AuthErrorCode INVALID_DYNAMIC_LINK_DOMAIN

The provided dynamic link domain is not configured or authorized for the current project.

public static final AuthErrorCode INVALID_ID_TOKEN

The specified ID token is invalid.

public static final AuthErrorCode INVALID_SESSION_COOKIE

The specified session cookie is invalid.

public static final AuthErrorCode PHONE_NUMBER_ALREADY_EXISTS

A user already exists with the provided phone number.

public static final AuthErrorCode REVOKED_ID_TOKEN

The specified ID token has been revoked.

public static final AuthErrorCode REVOKED_SESSION_COOKIE

The specified session cookie has been revoked.

public static final AuthErrorCode TENANT_ID_MISMATCH

Tenant ID in the JWT does not match.

public static final AuthErrorCode TENANT_NOT_FOUND

No tenant found for the given identifier.

public static final AuthErrorCode UID_ALREADY_EXISTS

A user already exists with the provided UID.

public static final AuthErrorCode UNAUTHORIZED_CONTINUE_URL

The domain of the continue URL is not whitelisted. Whitelist the domain in the Firebase console.

public static final AuthErrorCode USER_DISABLED

The user record is disabled.

public static final AuthErrorCode USER_NOT_FOUND

No user record found for the given identifier.

Public Methods

public static AuthErrorCode valueOf (String name)

public static final AuthErrorCode[] values ()