Show / Hide Table of Contents

Property RefreshTokenExchangeInterval

RefreshTokenExchangeInterval

Gets the interval at which the OAuth refresh token is exchanged (rotated) before expiration.

Declaration
public TimeSpan RefreshTokenExchangeInterval { get; }
Property Value
Type Description
TimeSpan

The interval at which OAuth refresh tokens are exchanged before expiration, rounded to the nearest whole minute. The value is negative if token exchange is disabled.

Remarks

This setting reduces how frequently active users must sign in again due to expired tokens.

  • The default value is 1440 minutes (24 hours).
  • Refresh token exchange is supported for ArcGIS Online and ArcGIS Enterprise portal 10.6 and later.
  • If the exchange interval is set to a value less than 0, the refresh token will never be exchanged and will eventually expire, causing the user to have to log in again.
  • To have any effect, this should be set to a value less than the RefreshTokenExpirationInterval.
  • Setting it to a value greater than the RefreshTokenExpirationInterval has the same effect as setting it to a negative value.
  • It is recommended to keep this interval as low as possible because long lived refresh tokens may increase the security risk.
See Also
RefreshTokenExpirationInterval

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.5 - 200.8
.NET200.5 - 300.0
.NET Windows200.5 - 300.0
.NET Android200.5 - 300.0
.NET iOS200.5 - 300.0
.NET Framework200.5 - 200.8
UWP200.5 - 200.8
In this article
Provide feedback
Back to top Copyright © 2025 Esri.