Class ArcGISNetworkCredential
A credential used to access to network resources secured by HTTP authentication.
Implements
Namespace: Esri.ArcGISRuntime.Security
Assembly: Esri.ArcGISRuntime.dll
Syntax
[Serializable]
[KnownType(typeof(PreAuthenticateBehavior))]
public sealed class ArcGISNetworkCredential : Credential, INotifyPropertyChanged, ISerializable
Constructors
Name | Description |
---|---|
ArcGISNetworkCredential(String, ICredentials) | Initializes a new instance of the ArcGISNetworkCredential class for the specified service with the specified credentials. |
ArcGISNetworkCredential(String, String, String) | Initializes a new instance of the ArcGISNetworkCredential class for the specified service with the specified user name and password. |
ArcGISNetworkCredential(String, String, String, String) | Initializes a new instance of the ArcGISNetworkCredential class for the specified service with the specified user name, password, and domain. |
ArcGISNetworkCredential(Uri, ICredentials) | Initializes a new instance of the ArcGISNetworkCredential class for the specified service with the specified credentials. |
ArcGISNetworkCredential(Uri, String, String) | Initializes a new instance of the ArcGISNetworkCredential class for the specified service with the specified user name and password. |
ArcGISNetworkCredential(Uri, String, String, String) | Initializes a new instance of the ArcGISNetworkCredential class for the specified service with the specified user name, password, and domain. |
Properties
Name | Description |
---|---|
Credentials | Gets or sets the base authentication interface for accessing an ArcGIS resource with an HTTP authentication. |
PreAuthenticateBehavior | Gets or sets the behavior for setting the Authorization header. |
RealmRoot | Gets the calculated RealmRoot parameter.
This is initialized to |
Methods
Name | Description |
---|---|
ToJson() | Convert this Credential to a JSON string. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |