Property RefreshTokenExchangeInterval
RefreshTokenExchangeInterval
Gets the requested exchange interval for the OAuth refresh token. Use this to exchange a refresh token before it expires. This will limit the number of times a user will have to login because of expiring tokens.
Declaration
public TimeSpan RefreshTokenExchangeInterval { get; }
Property Value
Type | Description |
---|---|
System.TimeSpan | The requested exchange interval for the OAuth refresh token. |
Remarks
If the exchange interval is set to System.TimeSpan.Zero or less, then the refresh token will never be exchanged and will eventually expire, causing the user to have to log in again.
To have any affect, this should be set to a value less than the RefreshTokenExpirationInterval. Setting it to a value greater than the RefreshTokenExpirationInterval will have the same effect as setting this to System.TimeSpan.Zero.
It is recommended to keep this interval as low as possible because long lived refresh tokens may increase the security risk.
The expiration resolution is whole minutes and seconds will be ignored.
See Also
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 |