pub struct ArcadeToolAuthEngine { /* private fields */ }Expand description
Policy engine that checks whether a user has authorized an external tool.
The engine maps Typesec resource ids to Arcade tool names. A resource id may
either be present in the explicit mapping or already look like an Arcade tool
name such as Gmail.ListEmails.
Implementations§
Trait Implementations§
Source§impl PolicyEngine for ArcadeToolAuthEngine
impl PolicyEngine for ArcadeToolAuthEngine
Source§fn with_fallback(self, fallback: Arc<dyn PolicyEngine>) -> FallbackEngine<Self>where
Self: Sized,
fn with_fallback(self, fallback: Arc<dyn PolicyEngine>) -> FallbackEngine<Self>where
Self: Sized,
Compose this engine with a fallback. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for ArcadeToolAuthEngine
impl !UnwindSafe for ArcadeToolAuthEngine
impl Freeze for ArcadeToolAuthEngine
impl Send for ArcadeToolAuthEngine
impl Sync for ArcadeToolAuthEngine
impl Unpin for ArcadeToolAuthEngine
impl UnsafeUnpin for ArcadeToolAuthEngine
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more