Constructor ArcGISTokenCredential
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. |
| System.String | token | The token. |
| GenerateTokenOptions | generateTokenOptions | Optional information about how to generate the token. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException |
|
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.14 - 100.15 |
| .NET 6.0 | 100.14 - 100.15 |
| .NET 6.0 Windows | 100.14 - 100.15 |
| .NET Framework | 100.14 - 100.15 |
| Xamarin.Android | 100.14 - 100.15 |
| Xamarin.iOS | 100.14 - 100.15 |
| UWP | 100.14 |