protect

Function protect 

Source
pub fn protect(
    handler: &mut dyn Endpoint,
    req: &dyn Request,
) -> Result<Grant, Error>
Expand description

Do needed verification before granting access to the resource