Show / Hide Table of Contents

Property TokenExpirationInterval

TokenExpirationInterval

Gets the length of time a token credential remains valid. If not explicitly set, the server default is used.

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

The length of time a token credential remains valid. If set to System.TimeSpan.Zero, the server default is used.

Remarks

If unspecified, the server returns a token with an expiration interval of 120 minutes (2 hours). The server default for the maximum allowed expiration time is 21600 minutes (15 days), but this value can be configured on the server. The expiration resolution is whole minutes and seconds are ignored.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.6 - 200.8
.NET200.6 - 200.8
.NET Windows200.6 - 200.8
.NET Android200.6 - 200.8
.NET iOS200.6 - 200.8
.NET Framework200.6 - 200.8
UWP200.6 - 200.8
In This Article
Back to top Copyright © 2022 Esri.