SPSecurityTokenServiceManager.LogonTokenCacheExpirationWindow property

Gets or sets the minimum lifetime of a token returned from the logon token cache.

Namespace:  Microsoft.SharePoint.Administration.Claims
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)


Public Property LogonTokenCacheExpirationWindow As TimeSpan
Dim instance As SPSecurityTokenServiceManager
Dim value As TimeSpan

value = instance.LogonTokenCacheExpirationWindow

instance.LogonTokenCacheExpirationWindow = value
public TimeSpan LogonTokenCacheExpirationWindow { get; set; }

Property value

Type: System.TimeSpan
The lifetime of the token. The default value is 10 minutes.


Tokens which are currently valid, but will be expired after the time specified in the window, will be considered as expired. This is to avoid issues where the token is returned from the cache but expires immediately after and is therefore unusable.

See also


SPSecurityTokenServiceManager class

SPSecurityTokenServiceManager members

Microsoft.SharePoint.Administration.Claims namespace