AuthAccess

Trait AuthAccess 

Source
pub trait AuthAccess {
    // Required method
    fn check_auth(
        &self,
        owner: Identity,
        caller: Identity,
    ) -> Result<(), AuthError>;
}
Expand description

Trait for checking if the caller have access to Self

Required Methods§

Source

fn check_auth(&self, owner: Identity, caller: Identity) -> Result<(), AuthError>

Implementors§