Bind a session to the tenant it was minted under. Default true: when a
tenant is resolved for the request, the tenant id is sealed into the
session on commit, and a later request presenting that session under a
different tenant is refused with 403 before the handler runs. When
either the session or the request carries no tenant, nothing is compared,
so an application without tenancy is inert. false restores the previous
behaviour (no seal, no compare).
Usage
import { type SessionPluginOptions } from "session-plugin/src/index.ts";