Class GenerateTokenOptions
This class contains optional information about the token to generate.
Inheritance
System.Object
GenerateTokenOptions
Namespace: Esri.ArcGISRuntime.Security
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class GenerateTokenOptions : ISerializable
Constructors
| Name | Description |
|---|---|
| GenerateTokenOptions() | Initializes a new instance of the GenerateTokenOptions class. |
Properties
| Name | Description |
|---|---|
| OAuthAuthorizeHandler | Gets or sets the component that handles authorization by a resource owner in an oauth workflow. If set, this value overrides the default OAuthAuthorizeHandler. |
| Referer | Gets or sets the HTTP referer to generate a token for. |
| TokenAuthenticationType | Gets or sets the type of the token authentication used for generating the token. |
| TokenExpirationInterval | Gets or sets the requested expiration interval for the token. |
| TokenValidity | Gets or sets the suggested lifetime of the token in minutes. If set, this value overrides the default TokenValidity. |
Applies to
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.0 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 100.15 |