Show / Hide Table of Contents

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

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.