pub fn check_auth(
req: &HttpRequest,
config: &ControlPlaneConfigHandle,
) -> Result<(), HttpResponse>Expand description
Check authentication on an HTTP request. Returns Ok(()) if authenticated, Err(response) with 401 if not.
pub fn check_auth(
req: &HttpRequest,
config: &ControlPlaneConfigHandle,
) -> Result<(), HttpResponse>Check authentication on an HTTP request. Returns Ok(()) if authenticated, Err(response) with 401 if not.