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
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.8 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.8 - 200.5 |
Xamarin.Android | 100.8 - 100.15 |
Xamarin.iOS | 100.8 - 100.15 |
UWP | 100.8 - 200.5 |