passwordValidationFunction property

PasswordValidationFunction passwordValidationFunction
final

Function to check passwords against a policy during registration and password change.

If the rules are changed after a password has been set, subsequent logins with the old password are still accepted and the user will not be forced to update it.

Defaults to ensuring that the password is not padded by whitespace and is at least 8 characters long.

Implementation

final PasswordValidationFunction passwordValidationFunction;