Skip to content

ArcGISAuthenticationChallenge

Namespace: GameEngine.Authentication
Class: GameEngine/Authentication/ArcGISAuthenticationChallenge
Since: 1.1.0

Summary

An ArcGIS authentication challenge.

Properties

PropertyTypeNullableReadonlySummary
ErrorExceptionNoYes

The underlying error that led to this authentication challenge.

PreviousFailureCountbyteNoYes

The number of failed authentication attempts that occurred previously for this authentication challenge.

RequestURLstringNoYes

The URL of the request that led to this authentication challenge.

TypeArcGISAuthenticationChallengeTypeNoYes

The type of the challenge, indicating which type of ArcGISCredential should be created to handle it.

Error

Exception Error

The underlying error that led to this authentication challenge.

PreviousFailureCount

byte PreviousFailureCount

The number of failed authentication attempts that occurred previously for this authentication challenge.

The maximum number of allowed authentication attempts is 5. After reaching this limit, the request that led to this authentication challenge may fail with an error.

RequestURL

string RequestURL

The URL of the request that led to this authentication challenge.

Type

The type of the challenge, indicating which type of ArcGISCredential should be created to handle it.

Methods

SignatureReturn TypeSummary

Cancel()

void

Cancels the request that initiated the challenge.

ContinueAndFail()

void

Handles the challenge without a credential, causing it to fail with the original authentication error.

ContinueWithCredential(ArcGISCredential)

void

Handles the challenge with the specified credential.

Cancel

void Cancel()

Cancels the request that initiated the challenge.

Since 1.1.0

Returns void

ContinueAndFail

void ContinueAndFail()

Handles the challenge without a credential, causing it to fail with the original authentication error.

Since 1.1.0

Returns void

ContinueWithCredential

void ContinueWithCredential(ArcGISCredential credential)

Handles the challenge with the specified credential.

Since 1.1.0

Arguments
NameTypeSummary
credentialArcGISCredential

The credential to use when retrying the request.

Returns void

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.