Skip to content

ArcGISAuthenticationChallenge

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

Summary

An ArcGIS authentication challenge.

Properties

PropertyTypeNullableReadonlySummary
ErrorArcGISExceptionNoYes

The underlying error that led to this authentication challenge.

PreviousFailureCountuint8_tNoYes

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

RequestURLFStringNoYes

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

ArcGISException GetError() const

The underlying error that led to this authentication challenge.

PreviousFailureCount

uint8_t GetPreviousFailureCount() const

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

FString GetRequestURL() const

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(const 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(const ArcGISCredential& credential)

Handles the challenge with the specified credential.

Since 1.1.0

Arguments
NameTypeConstSummary
credentialArcGISCredentialYes

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.