The handler is called to handle ArcGISAuthenticationChallenges when requests are made for ArcGIS secured resources that requires an OAuth or ArcGIS token authentication.

The credential provided while handling an authentication challenge is placed in the ArcGIS credential store of the ArcGISEnvironment.authenticationManager and used by all subsequent requests that have a matching server context. By default the handler is null, which means that if a challenge needs to be raised then it will automatically complete with a response of ArcGISAuthenticationChallengeResponse.ContinueAndFail.



See also