pub async fn auth_middleware( __arg0: State<AuthState>, req: Request<Body>, next: Next, ) -> Response
Authentication middleware function