AuthRestErrorKind enum

Inheritance
Available extensions

Values

wrongCredentials → const AuthRestErrorKind

EMAIL_NOT_FOUND, INVALID_PASSWORD and INVALID_LOGIN_CREDENTIALS are folded into one kind — Identity Toolkit deliberately doesn't say which one it was, and neither should we.

disabled → const AuthRestErrorKind

USER_DISABLED — the account exists but has been disabled.

rateLimited → const AuthRestErrorKind

TOO_MANY_ATTEMPTS_TRY_LATER — Identity Toolkit's own sign-in rate limit, distinct from the backend's 429 on key creation.

emailExists → const AuthRestErrorKind

EMAIL_EXISTS — accounts:signUp refuses a duplicate address.

weakPassword → const AuthRestErrorKind

WEAK_PASSWORD — server-side backstop below Identity Toolkit's own 6-character floor; the CLI's local check should catch this first.

signUpDisabled → const AuthRestErrorKind

OPERATION_NOT_ALLOWED — the email/password provider is disabled on this Firebase project.

unknown → const AuthRestErrorKind

Any other Identity Toolkit error code.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<AuthRestErrorKind>
A constant List of the values in this enum, in order of their declaration.