iya-sts
    Preparing search index...
    displaySafe: (value: unknown, max: number) => string = PasskeyPolicy.displaySafe

    Type Declaration

      • (value: unknown, max: number): string
      • A value as a passkey prompt may show it (#533): no control (Cc) or bidirectional-formatting characters, whitespace collapsed and trimmed, at most max characters (code points).

        Parameters

        • value: unknown

          the text

        • max: number

          the longest it may be

        Returns string

        the text, safe to show