aegis-delegate · revocation
Declared module signatures, types, configuration, and source documentation.
Source: aegis/aegis-delegate/src/revocation.rs. SHA-256: 7f38fdd0004282852e07d180595441146d8837ea3f2ae230fbec8a6924f37471.
This source reference follows declared modules and preserves feature attributes. It includes public declarations and implementation methods in those modules. Private-module exports and trait resolution still require the compiler; not every declaration is a crate-root import. Function bodies and constant values are omitted. Source comments describe their implementation context and are not a production deployment claim.
revocation::RevocationRegistry
Tracks revoked delegation IDs.
All operations are thread-safe via an internal [RwLock].
This is an in-memory registry; for persistence, a backing store
should be layered on top.
pub struct RevocationRegistry {
}Source line: 16.
revocation::RevocationRegistry::new
Creates a new empty revocation registry.
pub fn new() -> Self;Source line: 22.
revocation::RevocationRegistry::revoke
Marks a single delegation as revoked.
pub fn revoke(&self, delegation_id: &str);Source line: 29.
revocation::RevocationRegistry::is_revoked
Checks whether a delegation has been revoked.
pub fn is_revoked(&self, delegation_id: &str) -> bool;Source line: 36.
revocation::RevocationRegistry::revoke_cascade
Revokes multiple delegations at once (cascade revocation).
This is typically used after
DelegationTree::revoke returns
a list of all transitively affected delegation IDs.
pub fn revoke_cascade(&self, ids: &[String]);Source line: 51.