Expand description
§Hessra Capability Engine
Core capability engine for the Hessra authorization system.
This crate provides:
- Unified object model where everything is an object with a capability space
PolicyBackendtrait for pluggable policy evaluation- Context tokens for information flow control (exposure tracking)
CapabilityEnginethat orchestrates minting, verification, and policy evaluation
Re-exports§
pub use context::ContextToken;pub use context::HessraContext;pub use engine::CapabilityEngine;pub use error::EngineError;pub use types::CapabilityGrant;pub use types::Designation;pub use types::ExposureLabel;pub use types::IdentityConfig;pub use types::MintOptions;pub use types::MintResult;pub use types::ObjectId;pub use types::Operation;pub use types::PolicyBackend;pub use types::PolicyDecision;pub use types::SessionConfig;
Modules§
- context
- Context token wrapper for the capability engine.
- engine
- The capability engine: orchestrates policy evaluation, token minting, and verification.
- error
- Error types for the capability engine.
- types
- Core types for the capability engine.
Structs§
- Token
Time Config - TokenTimeConfig allows control over token creation times and durations This is used to create tokens with custom start times and durations for testing purposes. In the future, this can be enhanced to support variable length tokens, such as long-lived bearer tokens.