Class ArcGISTokenCredential
The ArcGISTokenCredential class represents a credential object used to access to ArcGIS resources secured with an ArcGIS token.
Implements
System.ComponentModel.INotifyPropertyChanged
System.Runtime.Serialization.ISerializable
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)
Namespace: Esri.ArcGISRuntime.Security
Assembly: Esri.ArcGISRuntime.dll
Syntax
[Serializable]
public sealed class ArcGISTokenCredential : TokenCredential, INotifyPropertyChanged, ISerializable
Remarks
You will generally get an instance of this class by calling GetCredentialAsync(CredentialRequestInfo, Boolean). To accommodate specific uses cases, this object can also be created manually.
Constructors
| Name | Description |
|---|---|
| ArcGISTokenCredential(Uri, String, GenerateTokenOptions) | Initializes a new instance of the ArcGISTokenCredential class. |
Properties
| Name | Description |
|---|---|
| Password | Gets or sets the password used to refresh the token. |
Applies to
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.0 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 100.15 |