videosphere
    Preparing search index...

    Function verifyTotpChallengeToken

    • Validates a TOTP challenge JWT and returns the encoded user id.

      Parameters

      • token: string

        JWT from the login challenge step.

      Returns Promise<string>

      User id when valid; otherwise null.