Skip to main content

@idpass/data-collect-core / ScopeValidationResult

Type Alias: ScopeValidationResult

ScopeValidationResult = { ok: true; } | { ok: false; reason: "out_of_scope" | "unknown_entity"; }

Defined in: services/ScopeResolver.ts:128

Outcome of validateEventScope. unknown_entity is reserved for non-create events whose entityGuid cannot be resolved by the caller — the validator cannot prove scope membership, so we deny by default.