Checks the strength of a password according to your Project’s password strength configuration.
zxcvbn_feedback and luds_feedback objects contains relevant information to relay to users that failed to create a strong enough password.
If using zxcvbn, the feedback object will contain warning and suggestions for any password that does not meet the zxcvbn strength requirements. You can return these strings directly to the user to help them craft a strong password.
If using LUDS, the feedback object will contain a collection of fields that the user failed or passed. You should prompt the user to create a password that meets all requirements that they failed.Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Successful response
Globally unique UUID that is returned with every API call. This value is important to log for debugging purposes; we may ask for this value to help identify a specific API call when helping you debug an issue.
Returns true if the password passes our password validation. We offer two validation options,
zxcvbn is the default option which offers a high level of sophistication.
We also offer LUDS which is less sophisticated
but easier to understand. If an email address is included in the call we also
require that the password hasn't been compromised using built-in breach detection powered by HaveIBeenPwned
Returns true if the password has been breached. Powered by HaveIBeenPwned.
The strength policy type enforced, either zxcvbn or luds.
The HTTP status code of the response. Stytch follows standard HTTP response status code patterns, e.g. 2XX values equate to success, 3XX values are redirects, 4XX are client errors, and 5XX are server errors.