pub trait RevocationAuthority {
// Required method
fn is_revoked(
&self,
grant_id: &[u8; 32],
grant_digest: &[u8; 32],
current_time_unix: u64,
) -> Result<bool, AuthorizationError>;
}Required Methods§
Sourcefn is_revoked(
&self,
grant_id: &[u8; 32],
grant_digest: &[u8; 32],
current_time_unix: u64,
) -> Result<bool, AuthorizationError>
fn is_revoked( &self, grant_id: &[u8; 32], grant_digest: &[u8; 32], current_time_unix: u64, ) -> Result<bool, AuthorizationError>
Revalidate complete, restart-safe state for this exact grant digest at the broker’s trusted current time. Implementations must recheck checkpoint freshness/anti-rollback on every call; unknown state is an error, never false.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".