Trait fluvio_auth::AuthContext [−][src]
Required methods
#[must_use]fn allow_type_action<'life0, 'async_trait>(
&'life0 self,
ty: ObjectType,
action: TypeAction
) -> Pin<Box<dyn Future<Output = Result<bool, AuthError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
ty: ObjectType,
action: TypeAction
) -> Pin<Box<dyn Future<Output = Result<bool, AuthError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
check if any allow type specific action can be allowed
#[must_use]fn allow_instance_action<'life0, 'life1, 'async_trait>(
&'life0 self,
ty: ObjectType,
action: InstanceAction,
key: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<bool, AuthError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
ty: ObjectType,
action: InstanceAction,
key: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<bool, AuthError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
check if specific instance of action can be permitted