Property RefreshTokenExchangeInterval
RefreshTokenExchangeInterval
Gets or sets the exchange interval for the OAuth refresh token. The default is 24 hours.
Declaration
public TimeSpan RefreshTokenExchangeInterval { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan | The exchange interval for the OAuth refresh token. The default is 24 hours. |
Remarks
Set to System.TimeSpan.Zero to disable automatic exchange of refresh tokens. This will cause the ChallengeHandler to be called after this credential's refresh tokens expires.
You may need to use a shorter exchange interval when refresh tokens are short-lived. Refresh tokens may expire quickly due to organization's security policy or when requesting a short TokenExpirationInterval. Check the RefreshTokenExpirationDate property of newly-generated OAuth credentials to see if exchange interval needs to be adjusted.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.7 - 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.7 - 200.5 |
Xamarin.Android | 100.7 - 100.15 |
Xamarin.iOS | 100.7 - 100.15 |
UWP | 100.7 - 200.5 |