interface · Browser and Node
VerifyOptions
@toip-tools/eventlogView sourceimport { type VerifyOptions } from "@toip-tools/eventlog";
Declaration
interface VerifyOptions extends SigOptions {
/** Don't require witness receipts (a controller checking its own log). */
allowUnwitnessed?: boolean;
/** Compare with this store's first-seen copies. */
firstSeen?: LogStore;
clock?: Clock;
}
Properties
allowUnwitnessedoptionalboolean | undefinedDon't require witness receipts (a controller checking its own log).
firstSeenoptionalLogStore | undefinedCompare with this store's first-seen copies.
clockoptionalClock | undefinedverifySigoptional((input: { key: Qb64; message: Uint8Array; sig: IndexedSig; }) => Promise<boolean | undefined> | boolean | undefined) | undefinedA pluggable verifier, tried first. Return undefined to fall back to the built-in checks.
webauthnoptionalfalse | WebAuthnPolicy | undefinedHow to check WebAuthn-wrapped signatures.
falserejects them.