interface PasswordPolicyInterface (View source)

Checks a password against the configured policy rules; the Application layer owns the configuration.

Methods

array
validatePassword(string $password)

No description

Details

array validatePassword(string $password)

No description

Parameters

string $password

Return Value

array

One message per failed rule; empty when the password passes