GateDecision
GateDecision = {
allow:true;grant:StreamGrant;subject:string; } | {allow:false;reason:string; }
Defined in: packages/server/src/circuits/edge.ts:115
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ allow: true; grant: StreamGrant; subject: string; }
allow:
true
grant:
StreamGrant
subject
Section titled “subject”subject:
string
The token’s subject. Carried on the decision because the egress transform stage needs it and re-verifying the token to recover it would pay for a second HMAC on every rewritten read — the verification that established it already happened here.
Type Literal
Section titled “Type Literal”{ allow: false; reason: string; }