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
System.Object
Credential
TokenCredential
ArcGISTokenCredential
Implements
ISerializable
TokenCredential.Token
TokenCredential.ExpirationDate
TokenCredential.UserName
TokenCredential.IsSsl
TokenCredential.GenerateTokenOptions
TokenCredential.RefreshTokenAsync()
TokenCredential.RefreshTokenImplAsync()
Credential.ServiceUri
Credential.PropertyChanged
Namespace: Esri.ArcGISRuntime.Security
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class ArcGISTokenCredential : TokenCredential
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()

Initializes a new instance of the ArcGISTokenCredential class.

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 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 100.15
In This Article
Back to top Copyright © 2022 Esri.