Click or drag to resize

AuthenticationManagerTokenValidity Property

Note: This API is now obsolete.

Gets or sets the default suggested lifetime of the token in minutes. This default value can be overridden for a specific credential by setting TokenValidity.

Namespace:  Esri.ArcGISRuntime.Security
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.11.0
[ObsoleteAttribute("Use TokenExpirationInterval instead.")]
public int TokenValidity { get; set; }

Property Value

Type: Int32
The default token validity.
With the OAuth authorization grant workflow, you can generate a permanent OAuth refresh token by specifying -1 as token validity. If you don’t specify a token validity the default refresh token validity is 2 weeks.
See Also