videosphere
    Preparing search index...

    Function createTotpChallengeToken

    • Creates a short-lived JWT for the post-password TOTP login challenge.

      Parameters

      • userId: string

        Authenticated user id pending second factor.

      Returns Promise<string>

      Signed JWT with purpose: 'totp-challenge'.