Arc GISAuthentication Challenge Handler
An interface for handling ArcGISAuthenticationChallenges.
Since
200.0.0
Functions
Link copied to clipboard
abstract suspend fun handleArcGISAuthenticationChallenge(challenge: ArcGISAuthenticationChallenge): ArcGISAuthenticationChallengeResponse
Handle the given ArcGIS authentication challenge. Use ArcGISAuthenticationChallengeResponse.ContinueWithCredential, ArcGISAuthenticationChallengeResponse.ContinueAndFailWithError, ArcGISAuthenticationChallengeResponse.ContinueAndFail or ArcGISAuthenticationChallengeResponse.Cancel to handle the challenge. 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.