FirebaseAuthWeakPasswordException

public final class FirebaseAuthWeakPasswordException extends FirebaseAuthInvalidCredentialsException


Thrown when using a weak password (less than 6 chars) to create a new account or to update an existing account's password. Use getReason to get a message with the reason the validation failed that you can display to your users.

Summary

Public fields

final @Nullable String

Public methods

@Nullable String

Returns a message that contains the reason that the password strength validation failed.

Inherited methods

From com.google.firebase.auth.FirebaseAuthException
@NonNull String

Returns an error code that may provide more information about the error.

From java.lang.Throwable
synchronized final void
synchronized Throwable
synchronized Throwable
String
String
StackTraceElement[]
synchronized final Throwable[]
synchronized Throwable
void
void
setStackTrace(StackTraceElement[] p)
String

Public fields

reason

public final @Nullable String reason

Public methods

getReason

public @Nullable String getReason()

Returns a message that contains the reason that the password strength validation failed. This message can be directly shown to the user.