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
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 200.5 - 200.8 |
| .NET | 200.5 - 300.0 |
| .NET Windows | 200.5 - 300.0 |
| .NET Android | 200.5 - 300.0 |
| .NET iOS | 200.5 - 300.0 |
| .NET Framework | 200.5 - 200.8 |
| UWP | 200.5 - 200.8 |