Show / Hide Table of Contents

Class ArcGISTokenCredential

The ArcGISTokenCredential class represents a credential object used to access to ArcGIS resources secured with an ArcGIS token.

Inheritance
Object
Credential
TokenCredential
ArcGISTokenCredential
Implements
INotifyPropertyChanged
ISerializable
TokenCredential.Token
TokenCredential.ExpirationDate
TokenCredential.UserName
TokenCredential.IsSsl
TokenCredential.GenerateTokenOptions
TokenCredential.RefreshTokenAsync()
Credential.ServiceUri
Credential.PropertyChanged
Credential.ISerializable.GetObjectData(SerializationInfo, StreamingContext)
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
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

TargetVersions
.NET Standard 2.0100.3 - 200.1
.NET 6.0100.13 - 200.1
.NET 6.0 Windows100.13 - 200.1
.NET 6.0 Android200.0 - 200.1
.NET 6.0 iOS200.0 - 200.1
.NET Framework100.0 - 200.1
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.0 - 100.15
iOS100.0 - 100.15
UWP100.0 - 200.1
In This Article
Back to top Copyright © 2022 Esri.