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

The type of authentication challenge being made. Informs the authenticationChallengeType property.

NameValue
AuthenticationChallenge.AuthenticationChallengeTypeNone0
AuthenticationChallenge.AuthenticationChallengeTypeToken1

Property Documentation

authenticationChallengeType : AuthenticationChallengeType


requestUrl : string


Method Documentation

continueWithCredential(credential)

Attempts to continue the authentication, using credentials provided by the parameter.

The credential parameter

The credentials being used to continue with the authentication. This could be either the same credentials used before, or new credentials.