Enum PreAuthenticateBehavior
Determines how an ArcGISNetworkCredential should behave.
Namespace: Esri.ArcGISRuntime.Security
Assembly: Esri.ArcGISRuntime.dll
Syntax
[DataContract]
public enum PreAuthenticateBehavior
Fields
Name | Description |
---|---|
AfterFirstChallenge | The credential will be added to all future HTTP requests to a server after it has been challenged for and successfully authenticates. This is the standard .NET behavior when System.Net.Http.HttpClientHandler.PreAuthenticate
is set to |
Always | The credential is added to all HTTP requests, without any prompting from the server. This is useful for servers that do not challenge for authentication and instead, for example, return a different view to unauthorized users.
Credentials are sent in the |
Disabled | The credential is not added to an HTTP request until it has first been challenged for by the server. Because of this, the server will likely require re-authentication with this credential for every request. This is the standard .NET behavior when System.Net.Http.HttpClientHandler.PreAuthenticate
is set to |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.10 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.10 - 200.6 |
Xamarin.Android | 100.10 - 100.15 |
Xamarin.iOS | 100.10 - 100.15 |
UWP | 100.10 - 200.6 |