Share via


SPTokenCache Constructor (ReadOnlyCollection<>, , TimeSpan)

Initializes a new instance of the SPTokenCache class.

Namespace:  Microsoft.SharePoint.IdentityModel
Assembly:  Microsoft.SharePoint.IdentityModel (in Microsoft.SharePoint.IdentityModel.dll)

Syntax

'Declaration
Public Sub New ( _
    transforms As ReadOnlyCollection(Of CookieTransform), _
    tokenCache As SecurityTokenCache, _
    tokenLifetime As TimeSpan _
)
'Usage
Dim transforms As ReadOnlyCollection(Of CookieTransform)
Dim tokenCache As SecurityTokenCache
Dim tokenLifetime As TimeSpan

Dim instance As New SPTokenCache(transforms, _
    tokenCache, tokenLifetime)
public SPTokenCache(
    ReadOnlyCollection<CookieTransform> transforms,
    SecurityTokenCache tokenCache,
    TimeSpan tokenLifetime
)

Parameters

  • tokenCache
    Type: SecurityTokenCache

See Also

Reference

SPTokenCache Class

SPTokenCache Members

SPTokenCache Overload

Microsoft.SharePoint.IdentityModel Namespace