Class DefaultChallengeHandler
A default IChallengeHandler implementation that automatically handles requesting user credentials using platform-specific UI.
Inheritance
System.Object
    DefaultChallengeHandler
  Implements
      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 : IChallengeHandlerConstructors
| 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
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 100.14 - 200.8 | 
| .NET | 100.14 - 200.8 | 
| .NET Windows | 100.14 - 200.8 | 
| .NET Android | 200.0 - 200.8 | 
| .NET iOS | 200.0 - 200.8 | 
| .NET Framework | 100.14 - 200.8 | 
| Xamarin.Android | 100.14 - 100.15 | 
| Xamarin.iOS | 100.14 - 100.15 | 
| UWP | 100.0 - 200.8 |