Struct svc_authz::ClientMap [−][src]
pub struct ClientMap { /* fields omitted */ }
Implementations
pub fn new<A>(
me: &A,
cache: Option<Box<dyn AuthzCache>>,
m: ConfigMap,
f: Option<BanCallback>
) -> Result<Self, ConfigurationError> where
A: Authenticable,
pub async fn ban<A>(
&self,
audience: String,
subject: A,
object: Box<dyn IntentObject>,
value: bool,
seconds: usize
) -> Result<(), Error> where
A: Authenticable,
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ClientMap
impl !UnwindSafe for ClientMap
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more