Show / Hide Table of Contents

Property TokenExpirationInterval

TokenExpirationInterval

Gets or sets the default suggested expiration interval (lifetime) of all tokens.

Declaration
public TimeSpan TokenExpirationInterval { get; set; }
Property Value
Type Description
System.TimeSpan

The default suggested expiration interval (lifetime) of all tokens.

Remarks

This value can be overridden for a specific token by setting TokenExpirationInterval.

Set to System.TimeSpan.MaxValue to request the maximum allowed expiration time. This is typically 90 days for OAuth credentials, and 14 days for ArcGIS token credentials. See Portal Security documentation to learn more about token expiration.

See Also
TokenExpirationInterval

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.8 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.8 - 200.8
Xamarin.Android100.8 - 100.15
Xamarin.iOS100.8 - 100.15
UWP100.8 - 200.8
In This Article
Back to top Copyright © 2022 Esri.