getPolicy abstract method

Future<PasswordPolicy> getPolicy()

Fetches the rules for valid passwords.

The PasswordPolicy is configured in the password settings in the Descope console, and these values can be used to implement client-side validation of new user passwords for a better user experience.

In any case, all password rules are enforced by Descope on the server side as well.

Implementation

Future<PasswordPolicy> getPolicy();