@orangecheck/gate / GateDecision
Interface: GateDecision
Defined in: types.ts:113
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
<a id="property-check"></a> check? | CheckResult | Underlying SDK result, present when a lookup happened. | types.ts:126 |
<a id="property-ok"></a> ok | boolean | True iff the request should be allowed through. | types.ts:115 |
<a id="property-reason"></a> reason | | "ok" | "no_subject" | "below_threshold" | "invalid_proof" | "not_found" | "lookup_error" | "fail_open" | Why the gate blocked (or allowed). | types.ts:117 |
<a id="property-subject"></a> subject? | string | The subject value the gate resolved from the request. | types.ts:128 |
<a id="property-subjectkind"></a> subjectKind? | "address" | "attestation_id" | "identity" | The kind of subject: 'address' | 'attestation_id' |