videosphere
    Preparing search index...

    Function verifyTotpTrustToken

    • Validates a TOTP trust cookie JWT for a specific user.

      Parameters

      • token: string

        Trust cookie value.

      • userId: string

        Expected user id.

      Returns Promise<boolean>

      True when the token is valid for the user.