pub trait Gate:
Send
+ Sync
+ Debug {
// Required method
fn check(&self, req: &GateRequest) -> Result<GateDecision, GateError>;
// Provided method
fn impl_name(&self) -> &'static str { ... }
}Expand description
Authorization gate consulted before each verb dispatch.
Implementations live downstream:
AllowAllGate(this crate) — permissive defaultRegoGate(Apache-2.0 sibling cratekhive-gate-rego, ADR-032) — regorus-backed Rego evalLionGate<G>(khive-cloud, BUSL) — wraps anyGatewith lion-core capability witnesses for verifiable enforcement.