Show / Hide Table of Contents

Class DefaultChallengeHandler

A default IChallengeHandler implementation that automatically handles requesting user credentials using platform-specific UI.

Inheritance
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)
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 for the current UI thread context.

DefaultChallengeHandler(SynchronizationContext)

Initializes a new instance of the DefaultChallengeHandler class with the specified UI thread context.

DefaultChallengeHandler(SynchronizationContext, IntPtr)

Initializes a new instance of the DefaultChallengeHandler class with the specified UI thread context and window handle.

Properties

Name Description
UIThreadContext

Gets or sets the context for the UI thread.

WindowHandle

Gets or sets the handle for the current window.

Methods

Name Description
CreateCredentialAsync(CredentialRequestInfo)

Create the credential allowing to access to the specified ArcGIS resource. Most generally the application challenges the user in order to get the credential but the credential may also be generated programmatically.

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.