Skip to content

IdParamVerifyOptions

IdParamVerifyOptions = IdParamOptions & object

Defined in: src/adapters/hono.ts:55

Extends IdParamOptions with opt-in HMAC tag verification. Only accepted when the codec satisfies IdVerifiableCodec (the Signed Timestamp codec or Wrapped key codec). When verify is truthy, the adapter calls codec.safeVerify(raw) after structural parse succeeds; a tag mismatch is routed through the existing "malformed" failure path.

optional verify?: boolean

When truthy, calls codec.safeVerify(raw) after structural parse and treats a tag failure as "malformed". Accepts any boolean so computed flags ({ verify: cfg.verifyIds }) compile without casting.