Trait SimpleAuthorization
rocket_simple_authorization
pub trait SimpleAuthorization { fn has_authority<S: AsRef<str>>(key: S) -> bool; fn create_auth<S: Into<String>>(key: S) -> Self; }
The trait for an authorizer.
fn has_authority<S: AsRef<str>>(key: S) -> bool
fn create_auth<S: Into<String>>(key: S) -> Self