WeakPassword
Password policy feedback returned by Auth.
| Name | Type | Definition |
|---|---|---|
message? | string | Human-readable password policy message. |
reasons? | ("length" | "characters" | "pwned")[] | Machine-readable password weakness reasons. |
Example
{ "message": "The password does not satisfy the configured policy.", "reasons": [ "length" ]}