iya-sts
    Preparing search index...

    Variable passwordRules

    passwordRules: (
        username: any,
        application?: any,
    ) => { enforced: boolean; profile: string; rules: string[] } = ...

    Type Declaration

      • (
            username: any,
            application?: any,
        ): { enforced: boolean; profile: string; rules: string[] }
      • Returns the password rules as a person reads them, and whether they are enforced, for a form to print before it refuses anything.

        Parameters

        • username: any

          the person; the profile is the one their groups name (#1236), default for nobody

        • Optionalapplication: any

          the application, where one is known: it may name the profile too

        Returns { enforced: boolean; profile: string; rules: string[] }

        { enforced, … }