Skip to main content

IdentityAuthority

Trait IdentityAuthority 

Source
pub trait IdentityAuthority {
    // Required method
    fn verify_parties(
        &self,
        grant: &ConsentGrant,
        actor_id: &[u8; 32],
    ) -> Result<(), AuthorizationError>;
}
Expand description

Required fail-closed integration authorities. Implementations are trust boundaries and must be backed by authenticated identity, a sensor-specific signed scope assertion, durable revocation state, and a trusted clock.

Required Methods§

Source

fn verify_parties( &self, grant: &ConsentGrant, actor_id: &[u8; 32], ) -> Result<(), AuthorizationError>

Bind the grant’s signing key to an accepted human/authority identity and authenticate the actor as the grant recipient. Do not infer identity from public-key possession or nonzero hashes alone.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§