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.

Inheritance
System.Object
DefaultChallengeHandler
Implements
IChallengeHandler
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Esri.ArcGISRuntime.Security
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class DefaultChallengeHandler : 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 user can save the credentials between sessions. This property exists only for backwards compatibility and has no effect. To control whether credentials are stored between sessions, use Persistence instead.

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()

This method exists only for backwards compatibility and has no effect. To clear stored credentials, call RemoveAndRevokeAllCredentialsAsync() instead.

CreateCredentialAsync(CredentialRequestInfo)

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

Applies to

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