Exporting datagrids when results need to be filtered by user claims


I am using the code from your demos to export my datagrids to Excel or CSV. It works great, but I need to adjust it and I've hit a problem because I need to be able to filter the data I'm exporting based on the user claims. Obviously I can't populate these claims client side and pass them through because I leave that open to the risk of manipulation, but I also can't populate them server side because I'm making the call to the export controller using NavigationManager rather than HttpClient so no access token is being passed.

Does anyone have any possible solutions for this? For clarity, my back end is ASP.NET Core hosted and I'm using ASP.NET Identity.