Show / Hide Table of Contents

Class DefaultChallengeHandler

Default WinStore component that handles the authorization errors returned by the requests to the ArcGIS resources. This implementation is based on the Windows.Security.Credentials.UI.CredentialPicker.

Optionally, depending on the AllowSaveCredentials value, the credentials are cached in the Windows.Security.Credentials.PasswordVault in a secure manner. The Windows.Security.Credentials.PasswordVault roams credentials to other Windows systems, so they can be retrieved on all PCs and tablets.

Inheritance
System.Object
DefaultChallengeHandler
Implements
IChallengeHandler
Namespace: Esri.ArcGISRuntime.Security
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class DefaultChallengeHandler : object, IChallengeHandler

Constructors

Name Description
DefaultChallengeHandler()

Initializes a new instance of the DefaultChallengeHandler class.

Properties

Name Description
AllowSaveCredentials

Gets or sets a value indicating whether the credentials can be saved in the credential locker.

CredentialSaveOption

Gets or sets the option that specifies the initial state of the dialog's Save Credential check box. The default value is clear (unchecked).

Methods

Name Description
ClearCredentialsCache()

Clears all ArcGISRuntime credentials from the Credential Locker.

CreateCredentialAsync(CredentialRequestInfo)

Challenge for getting the credential allowing to access to the specified ArcGIS resource.

Applies to

TargetVersions
.NET Standard 2.0100.14 - 100.15
.NET 6.0100.14 - 100.15
.NET 6.0 Windows100.14 - 100.15
.NET Framework100.14 - 100.15
Xamarin.Android100.14 - 100.15
Xamarin.iOS100.14 - 100.15
UWP100.0 - 100.15
In This Article
Back to top Copyright © 2022 Esri.