pub async fn ingestion_auth_middleware(
provider: Arc<dyn AuthProvider>,
logger: Arc<RejectedRequestLogger>,
req: Request,
next: Next,
) -> Result<Response, AuthError>Expand description
Like micromegas_auth::axum::auth_middleware, except that a rejected insert_process or
OTLP request is logged through logger, as one line that includes what its body claims.