FirebaseAuthPasswordDoesNotMeetRequirementsException

public final class FirebaseAuthPasswordDoesNotMeetRequirementsException extends FirebaseAuthException


Thrown when the password does not meet the password policy requirements. 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 policy 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 policy validation failed. This message can be directly shown to the user.