SPSecurityTokenServiceManager.ServiceTokenLifetime Property
Gets or sets the lifetime of a service token when it is first issued.
Namespace: Microsoft.SharePoint.Administration.Claims
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property ServiceTokenLifetime As TimeSpan
Get
Set
'Usage
Dim instance As SPSecurityTokenServiceManager
Dim value As TimeSpan
value = instance.ServiceTokenLifetime
instance.ServiceTokenLifetime = value
public TimeSpan ServiceTokenLifetime { get; set; }
Property Value
Type: System.TimeSpan
The lifetime of the token. The default is 10 hours.
See Also
Reference
SPSecurityTokenServiceManager Class