Expand description
Authorization pipeline for tool execution.
Provides a structured pre-execution decision path with typed decisions. Each stage can Allow, Deny, or AskUser, and the pipeline short-circuits on the first Deny.
Structs§
- Allow
AllPermissions - Default permission handler that allows everything.
- Authz
Pipeline - The authorization pipeline.
- Authz
Result - A complete authorization result from the pipeline.
- Restriction
- A permanent restriction that can never be bypassed.
- Stage
Result - Result from a single authorization stage.
Enums§
- Authz
Decision - The authorization decision.
- Authz
Stage - The stage that produced an authorization decision.
Traits§
- Permission
Handler - Callback for permission mode decisions (allow/ask/deny). Products implement this to integrate their approval UX.