I'm trying to include an access_token to a WMS url. It seems to work fine for GetCapabilities requests but when it does a GetMap request the access_token query parameter is stripped off. I see in ArcGIS 10.4 Desktop in the "Add WMS Server" dialog there is an option to add "Custom Parameters" so I assume it should be possible via ArcObjects. I tested adding the WMS service with access_token using the dialog and all was good, WMS layers were drawing no issues. Any thoughts of how this can be done via ArcObjects? In 10.3.1 and/or 10.4?
Thanks for any help.