Skip to main content

Crate khive_gate

Crate khive_gate 

Source
Expand description

Validated authorization request, decision, obligation, audit, and gate interfaces.

Structs§

ActorRef
Caller identity with non-empty kind and id, validated on construction and deserialization.
AllowAllGate
Permissive gate — every request is allowed with no obligations.
AuditEvent
Structured audit record emitted once per gate consultation.
GateContext
Per-request context — session, timing, transport source.
GateRequest
What the gate sees on every verb invocation.

Enums§

AuditDecision
The outcome field of an AuditEvent, serialised as "allow" / "deny".
GateDecision
Gate decision: allow (with optional obligations) or deny (with reason).
GateError
Errors returned by crate::Gate::check.
GateValidationError
Validation error for gate wire types.
Obligation
Policy instructions attached to an allow; only Audit has v0 runtime handling.

Traits§

Gate
Authorization gate consulted before each verb dispatch.

Type Aliases§

GateRef
Shareable handle to a Gate impl.