VerifyOptions

import { VerifyOptions } from "jsr:@ende/http/unstable-message-signatures";

interface ยท experimental

interface VerifyOptions

Options for verifyMessage.

Properties

maxAge

maxAge?: number

Maximum allowed age of the signature in seconds.

requiredComponents

requiredComponents?: ComponentInput[]

Components that must be covered by each verified signature.

labels

labels?: string[]

Specific signature label(s) to verify. If omitted, all are verified.

request

request?: Request

The originating request, needed when verifying response signatures with ;req components.

Source