iya-sts
    Preparing search index...

    Variable generateSecret

    generateSecret: (opts?: { bytes?: string | number }) => string = ...

    Type Declaration

      • (opts?: { bytes?: string | number }): string
      • Generates a new random shared secret, base32-encoded.

        Parameters

        • Optionalopts: { bytes?: string | number }

          optional; bytes overrides totp.secretBytes

        Returns string

        the secret