Show / Hide Table of Contents

Constructor ArcGISTokenCredential

ArcGISTokenCredential()

Initializes a new instance of the ArcGISTokenCredential class.

Declaration
public ArcGISTokenCredential()

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.13
.NET 6.0100.13
.NET 6.0 Windows100.13
.NET Framework100.0 - 100.13
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.13
Xamarin.iOS100.0 - 100.13
UWP100.0 - 100.15

ArcGISTokenCredential(Uri, String, GenerateTokenOptions)

Initializes a new instance of the ArcGISTokenCredential class.

Declaration
public ArcGISTokenCredential(Uri serviceUri, string token, GenerateTokenOptions generateTokenOptions = null)
Parameters
Type Name Description
Uri serviceUri

The service that can be accessed with this credential.

String token

The token.

GenerateTokenOptions generateTokenOptions

Optional information about how to generate the token.

Applies to

Platforms and versions
TargetVersions
UWP100.15
In This Article
Back to top Copyright © 2022 Esri.