Show / Hide Table of Contents

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
TimeSpan

The exchange interval for the OAuth refresh token. The default is 24 hours.

Remarks

Set to 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
TargetVersions
.NET Standard 2.0100.7 - 200.2
.NET 6.0100.13 - 200.2
.NET 6.0 Windows100.13 - 200.2
.NET 6.0 Android200.0 - 200.2
.NET 6.0 iOS200.0 - 200.2
.NET Framework100.7 - 200.2
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.7 - 100.15
iOS100.7 - 100.15
UWP100.7 - 200.2
In This Article
Back to top Copyright © 2022 Esri.