Expand description
Validated authorization request, decision, obligation, audit, and gate interfaces.
Structs§
- Actor
Ref - Caller identity with non-empty
kindandid, validated on construction and deserialization. - Allow
AllGate - Permissive gate — every request is allowed with no obligations.
- Audit
Event - Structured audit record emitted once per gate consultation.
- Gate
Context - Per-request context — session, timing, transport source.
- Gate
Request - What the gate sees on every verb invocation.
Enums§
- Audit
Decision - The outcome field of an
AuditEvent, serialised as"allow"/"deny". - Gate
Decision - Gate decision: allow (with optional obligations) or deny (with reason).
- Gate
Error - Errors returned by
crate::Gate::check. - Gate
Validation Error - Validation error for gate wire types.
- Obligation
- Policy instructions attached to an allow; only
Audithas v0 runtime handling.
Traits§
- Gate
- Authorization gate consulted before each verb dispatch.
Type Aliases§
- GateRef
- Shareable handle to a
Gateimpl.