handleArcGISAuthenticationChallenge abstract method

void handleArcGISAuthenticationChallenge(
  1. ArcGISAuthenticationChallenge challenge
)

Handles the given authentication challenge.

Use ArcGISAuthenticationChallenge.continueWithCredential, ArcGISAuthenticationChallenge.continueAndFail, or ArcGISAuthenticationChallenge.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.

Parameters:

  • challenge — The challenge to be handled.

Implementation

void handleArcGISAuthenticationChallenge(
    ArcGISAuthenticationChallenge challenge);