Expand description
Granular capability tokens and permission checks for IPC services.
Structs§
- Capability
Bundle - A capability bundle given to the workspace to spawn a child process. Includes both a token and a capability set.
- Capability
Set - A set of capabilities for a process, not including a token.
- Capability
Token - An unguessable capability token bound to a single connection/process.
- Global
Limits - Global limits across the connection/process.
- InMemory
Token Validator - A simple in-memory token validator that stores tokens and their associated capability sets.
- Method
Rule - Pattern/rule controlling access to a method with optional quotas.
- Quota
Set - Quotas applicable to a method.
- Service
Name - Logical service identifier (human-readable, stable across versions).
Enums§
- Method
Selector - A method selector can be exact or wildcard.
Traits§
- Token
Validator - Validates a capability token and derives a bound
CapabilitySet. Implementations should avoid panics and return errors for invalid tokens.
Functions§
- default_
service_ capabilities - Provides default capabilities for singleton services.
- trusted_
workspace_ capabilities - Capabilities used to authorize requests arriving from the workspace.