Show / Hide Table of Contents

Property TokenExpirationInterval

TokenExpirationInterval

Gets or sets the requested expiration interval for the token.

Declaration
public TimeSpan TokenExpirationInterval { get; set; }
Property Value
Type Description
TimeSpan

The requested expiration interval for the token.

Remarks

If set, this value overrides the default TokenExpirationInterval.

When working with the OAuth two-step authorization code workflow, you can use this property to specify the lifetime of the refresh token. Otherwise, this property is used for the lifetime of the access token.

See Also
TokenExpirationInterval

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.8 - 200.0
.NET 6.0100.13 - 200.0
.NET 6.0 Windows100.13 - 200.0
.NET 6.0 Android200
.NET 6.0 iOS200
.NET Framework100.8 - 200.0
.NET 5100.10 - 100.12
.NET Core 3.1100.8 - 100.12
Android100.8 - 100.15
iOS100.8 - 100.15
UWP100.8 - 200.0
In This Article
Back to top Copyright © 2022 Esri.