Share via


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

SPSecurityTokenServiceManager members

Microsoft.SharePoint.Administration.Claims namespace