passwordRules: (
username: any,
) => { enforced: boolean; profile: string; rules: string[] } = ...
Type Declaration
-
- (username: any): { enforced: boolean; profile: string; rules: string[] }
-
Returns { enforced: boolean; profile: string; rules: string[] }
{ enforced, … }
Returns the password rules as a person reads them, and whether they are enforced, for a form to print before it refuses anything.