The password to validate.
Optionaloptions: { includeInErrors?: boolean }OptionalincludeInErrors?: booleanIf true, validation errors are stored in the global error manager under the password field. Defaults to false.
A PasswordValidationResult object containing:
isValid — true if the password satisfies all configured rules.results — an array of per-rule results with code, label, status, and isValid.
This React hook validates a password against the current Auth0 password policy and returns a structured result describing whether the password satisfies each rule.
Optionally, it can send the validation results to the global error manager so that form error components can update automatically.