pub fn protect( handler: &mut dyn Endpoint, req: &dyn Request, ) -> Result<Grant, Error>
Do needed verification before granting access to the resource