Skip to main content

IdentityBridge

Trait IdentityBridge 

Source
pub trait IdentityBridge: Send + Sync {
    // Provided methods
    fn authenticate(&self, _token: &str) -> Result<bool, String> { ... }
    fn authorize(&self, _action: &str, _resource: &str) -> Result<bool, String> { ... }
}

Provided Methods§

Source

fn authenticate(&self, _token: &str) -> Result<bool, String>

Source

fn authorize(&self, _action: &str, _resource: &str) -> Result<bool, String>

Implementors§