Property TokenExpirationInterval
TokenExpirationInterval
Gets or sets the requested expiration interval for the token.
Declaration
public TimeSpan TokenExpirationInterval { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan | The requested expiration interval for the token. |
Remarks
If set, this value overrides the default TokenExpirationInterval.
When working with the OAuth two-step authorization code workflow, you can use this property to specify the lifetime of the refresh token. Otherwise, this property is used for the lifetime of the access token.
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.8 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.8 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.8 - 100.12 |
Xamarin.Android | 100.8 - 100.15 |
Xamarin.iOS | 100.8 - 100.15 |
UWP | 100.8 - 100.15 |