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
Target | Versions |
---|---|
.NET Standard 2.0 | 200.5 - 200.6 |
.NET | 200.5 - 200.6 |
.NET Windows | 200.5 - 200.6 |
.NET Android | 200.5 - 200.6 |
.NET iOS | 200.5 - 200.6 |
.NET Framework | 200.5 - 200.6 |
UWP | 200.5 - 200.6 |