Skip to main content

StreamKeyReleaseGate

Trait StreamKeyReleaseGate 

Source
pub trait StreamKeyReleaseGate<P> {
    type Grant;

    // Required method
    fn authorize_release(
        &self,
        principal: &P,
        binding: &IdentifiedStreamBinding,
    ) -> Result<Self::Grant>;
}
Expand description

Authorization/key-release policy seam. Crypto code consumes an authorized binding; network implementations must call a gate at the #726 release PEP.

Required Associated Types§

Required Methods§

Source

fn authorize_release( &self, principal: &P, binding: &IdentifiedStreamBinding, ) -> Result<Self::Grant>

Implementors§