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
Implements
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
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 |