Function oxide_auth::code_grant::resource::protect[][src]

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

Do needed verification before granting access to the resource