pub async fn api_key_auth( __arg0: State<AuthState>, request: Request, next: Next, ) -> Result<Response, Response>
API key authentication middleware.