Show / Hide Table of Contents

Class AccessTokenCredential

A credential used to access token-secured ArcGIS resources.

Inheritance
object
Credential
ArcGISCredential
AccessTokenCredential
Implements
INotifyPropertyChanged
ArcGISCredential.Referer
ArcGISCredential.Username
Credential.ServerContext
Credential.PropertyChanged
Credential.FromJson(string)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
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

TargetVersions
.NET Standard 2.0200.6 - 200.8
.NET200.6 - 300.0
.NET Windows200.6 - 300.0
.NET Android200.6 - 300.0
.NET iOS200.6 - 300.0
.NET Framework200.6 - 200.8
UWP200.6 - 200.8
In this article
Provide feedback
Back to top Copyright © 2025 Esri.