Skip to content

eventIngestRequiresClaims

eventIngestRequiresClaims(streams): boolean

Defined in: packages/server/src/events/route.ts:190

Whether ANY registered Event stream declares an identity field — i.e. whether ingest NEEDS verified claims. The mutation path’s posture, mirrored: it demands claims when the registry actually requires them (an RLS policy or an authClaim managed field) rather than unconditionally. A registry whose streams declare no identity at all stamps nothing from claims, so it does not force an auth adapter into existence.

EventStreamRegistry

boolean