Show / Hide Table of Contents

Property TokenExpirationInterval

TokenExpirationInterval

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

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

Time span specifying the length of time a token credential remains valid.

Remarks

Given value is rounded to the nearest minute. If unspecified, the server returns a token with an expiration interval of 2 hours. The server default for the maximum allowed expiration time is 14 days, but this value can be configured on the server.

Applies to

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