We are developing a runtime application for windows device that will display ArcGISDynamicMapServiceLayer from onsite ArcGIS for Server.
There is a reverse proxy between the runtime app and onsite ArcGIS server. The reverse proxy server needs to authenticate app user using a cookie or token. Runtime application will generate a session cookie at the start up and will pass this cookie in a header of the request. Reverse proxy will authenticate the user and if successful, reverse proxy to ArcGIS Server service behind the firewall.
I cannot see a provision in DotNet SDK to intercept calls made by MapView and add necessary cookie or token in a header. I can see ArcGISHttpClientHandler and ArcGISHttpClient classes but I cannot determine how to plumb this with MapViewer and intercept calls to inject header. This functionality exists in Android SDK, see
This must be stock standard requirement for all secured services behind the firewall with reverse proxy between. Am I missing something?