Interface for a verifier.

Hierarchy

  • IVerifier

Implemented by

Methods

  • Verifies a ZkPass proof token.

    Parameters

    • zkpassProofToken: string

      The ZkPass proof token to verify.

    • dvrVerifier: ZkPassProofMetadataValidator

      The DVR verifier.

    • Optional tempPath: string

      (Optional) The temporary path to store the proof.

    Returns Promise<boolean>

    A promise that resolves with a boolean indicating whether the proof is valid.

  • Verifies a SIWE payload.

    Parameters

    • siwePayload: SIWEDTO

      The SIWE payload to verify.

    Returns Promise<void>

    A promise that resolves when the verification is complete.

Generated using TypeDoc