DenySignal — Examples
DATA PLATE
DenySignal emits whether an explicit denial fact is present at read time. Your application decides what that fact means at the enforcement point.
EXAMPLE
// Application-owned outcome example.
// DenySignal does not block requests.
// Read-time denial lookup.
const denyState = await denySignal.state({
subject: userId,
scope: "multiplayer",
});
// Example shape:
// {
// signal: "denial_present" | "denial_absent",
// reason: "operator_hold"
// }
if (denyState.signal === "denial_present") {
return rejectMultiplayerAccess("Denial fact present");
}
// Not denied is not the same as permitted.
// The application may still evaluate plan, expiry, identity, or local policy.
return continueApplicationFlow();Not denied ≠ permitted. DenySignal emits a negative fact only. Permission remains application-owned.
← Examples·Spec Sheet [ID: DNY-01]