Class GenerateTokenOptions
This class contains optional information about the token to generate.
Inheritance
System.Object
GenerateTokenOptions
Implements
System.Runtime.Serialization.ISerializable
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Esri.ArcGISRuntime.Security
Assembly: Esri.ArcGISRuntime.dll
Syntax
[Serializable]
[Obsolete("GenerateTokenOptions are only used by obsolete TokenCredential types. To configure token creation for ArcGISCredentials, use CreateAsync parameters instead.")]
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. |
| Name | Description |
|---|---|
| ISerializable.GetObjectData(SerializationInfo, StreamingContext) |
Applies to
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.0 - 200.8 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 200.8 |