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 : IChallengeHandler
Constructors
Name | Description |
---|---|
DefaultChallengeHandler() | Initializes a new instance of the DefaultChallengeHandler class using the application context. |
DefaultChallengeHandler(Activity) | Initializes a new instance of the DefaultChallengeHandler class for the specified activity. |
DefaultChallengeHandler(Application) | Initializes a new instance of the DefaultChallengeHandler class for the specified application. |
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.5 |
.NET | 100.14 - 200.5 |
.NET Windows | 100.14 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.14 - 200.5 |
Xamarin.Android | 100.14 - 100.15 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.0 - 200.5 |