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