[][src]Trait actix_web_grants::authorities::AuthoritiesCheck

pub trait AuthoritiesCheck {
    pub fn has_authority(&self, authority: &str) -> bool;
pub fn has_authorities(&self, authorities: Vec<&str>) -> bool;
pub fn has_any_authority(&self, authorities: Vec<&str>) -> bool; }

Required methods

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

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

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

Loading content...

Implementors

impl AuthoritiesCheck for AuthDetails[src]

Loading content...