fishhook-ant - v0.1.0
    Preparing search index...

    Type Alias VerifierOptions

    VerifierOptions: { key: Uint8Array; now?: () => number; scheme: Scheme } & ToleranceChoice & ReplayChoice

    Everything a Verifier needs. Nothing is defaulted except the clock.

    Type Declaration

    • key: Uint8Array

      The HMAC secret or the Ed25519 public key, as bytes. Use fromUtf8, fromHex, fromBase64 or standardWebhooksSecret; the preset's doc comment says which.

    • Optionalnow?: () => number

      Milliseconds since the epoch. Defaults to Date.now.

    • scheme: Scheme

      How the sender signs. A preset from schemes, or your own.