Type Definition telescope::web::middlewares::authorization::AuthorizationCheck [−][src]
type AuthorizationCheck = Rc<dyn Fn(Uuid) -> LocalBoxFuture<'static, Result<(), TelescopeError>>>;
Expand description
The type representing an authorization function reference.
Authorization functions accept an RCOS user ID and respond with
Ok(())
on success or a telescope error preventing access.