Class AccessTokenCredential
A credential used to access token-secured ArcGIS resources.
Implements
Namespace: Esri.ArcGISRuntime.Security
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class AccessTokenCredential : ArcGISCredential, INotifyPropertyChanged
Properties
| Name | Description |
|---|---|
| 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 an AccessTokenCredential with information needed to access an ArcGIS resource. |
| CreateFederatedAsync(Uri, ArcGISCredential?, TimeSpan, CancellationToken) | Creates an AccessTokenCredential to access a secured federated ArcGIS resource. |
| CreateNetworkSecuredAsync(Uri, string, TimeSpan, CancellationToken) | Creates an AccessTokenCredential with information needed to access an ArcGIS resource. |
| GetTokenInfoAsync(CancellationToken) | Returns an instance of TokenInfo generated by this credential. |
| ToJson() | Convert an object to JSON string. |
Applies to
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 200.6 - 200.8 |
| .NET | 200.6 - 300.0 |
| .NET Windows | 200.6 - 300.0 |
| .NET Android | 200.6 - 300.0 |
| .NET iOS | 200.6 - 300.0 |
| .NET Framework | 200.6 - 200.8 |
| UWP | 200.6 - 200.8 |