Class AccessTokenCredential
A credential used to access token-secured ArcGIS resources.
Implements
System.ComponentModel.INotifyPropertyChanged
System.Runtime.Serialization.ISerializable
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Esri.ArcGISRuntime.Security
Assembly: Esri.ArcGISRuntime.dll
Syntax
[Serializable]
public sealed class AccessTokenCredential : ArcGISCredential, INotifyPropertyChanged, ISerializable
Properties
Name | Description |
---|---|
Referer | Gets the referer used to generate a token. |
TokenExpirationInterval | Gets the length of time a token credential remains valid. If not explicitly set, the server default is used. |
Methods
Name | Description |
---|---|
CreateAsync(Uri, String, String, TimeSpan, CancellationToken) | Creates a AccessTokenCredential with information needed to access an ArcGIS resource. |
CreateNetworkSecuredAsync(Uri, String, TimeSpan, CancellationToken) | Creates a AccessTokenCredential with information needed to access an ArcGIS resource. |
GetTokenInfoAsync(CancellationToken) | Returns an instance of TokenInfo generated by this credential. |
ToJson() | Convert this Credential to a JSON string. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 200.6 |
.NET | 200.6 |
.NET Windows | 200.6 |
.NET Android | 200.6 |
.NET iOS | 200.6 |
.NET Framework | 200.6 |
UWP | 200.6 |