[][src]Trait actix_web_grants::authorities::RolesCheck

pub trait RolesCheck {
    pub fn has_role(&self, authority: &str) -> bool;
pub fn has_roles(&self, authorities: Vec<&str>) -> bool;
pub fn has_any_role(&self, authorities: Vec<&str>) -> bool; }

Required methods

pub fn has_role(&self, authority: &str) -> bool[src]

pub fn has_roles(&self, authorities: Vec<&str>) -> bool[src]

pub fn has_any_role(&self, authorities: Vec<&str>) -> bool[src]

Loading content...

Implementors

impl RolesCheck for AuthDetails[src]

Loading content...