TOTP icon

TOTP

Generate and verify Time-based One-Time Passwords (TOTP)

Verify Token

AI-generated

Summary

Verify a TOTP token against a Base32-encoded secret

Inputs

  • secret (required) — The Base32 encoded secret key
  • token (required) — The TOTP token to verify
  • additionalOptions — Additional options for TOTP verification, including algorithm, digits, and period
  • tolerance — Number of time steps to check before and after the current time

Output shape

object

Returned by the node's execute method. Determined by the underlying executeVerify implementation. When continueOnFail is enabled, the node may output { error: string } instead of throwing.

Discussion