ArcGIS for Developers

AuthenticationChallenge QML Type

Represents authentication challenges from secured network security errors. More...

Import Statement: import ArcGIS.AppFramework 1.0

Properties

Methods

Detailed Description

Instances of AuthenticationChallenge represent an authentication challenge that was raised because a security error was encountered while trying to access a secured network resource. You can connect to the authenticationChallenge signal in the Networking component to handle challenges raised from security errors.

To satisfy the challenge, you need to invoke the continueWithCredential method and pass a valid token.

Enumerations

AuthenticationChallengeType enumeration

NameValue
AuthenticationChallenge.AuthenticationChallengeTypeNone0
AuthenticationChallenge.AuthenticationChallengeTypeToken1

Property Documentation

authenticationChallengeType : AuthenticationChallengeType


requestUrl : string


Method Documentation

continueWithCredential(credential)

The credential parameter