SPSessionSecurityTokenHandler 构造函数 (ReadOnlyCollection<>, , TimeSpan)
SPSessionSecurityTokenHandler类的新实例进行初始化。
命名空间: Microsoft.SharePoint.IdentityModel
程序集: Microsoft.SharePoint.IdentityModel(位于 Microsoft.SharePoint.IdentityModel.dll 中)
语法
声明
Public Sub New ( _
transforms As ReadOnlyCollection(Of CookieTransform), _
tokenCache As SecurityTokenCache, _
tokenLifetime As TimeSpan _
)
用法
Dim transforms As ReadOnlyCollection(Of CookieTransform)
Dim tokenCache As SecurityTokenCache
Dim tokenLifetime As TimeSpan
Dim instance As New SPSessionSecurityTokenHandler(transforms, _
tokenCache, tokenLifetime)
public SPSessionSecurityTokenHandler(
ReadOnlyCollection<CookieTransform> transforms,
SecurityTokenCache tokenCache,
TimeSpan tokenLifetime
)
参数
- transforms
类型:System.Collections.ObjectModel.ReadOnlyCollection<CookieTransform>
- tokenCache
类型:SecurityTokenCache
- tokenLifetime
类型:System.TimeSpan
另请参阅
引用
SPSessionSecurityTokenHandler 类
SPSessionSecurityTokenHandler 成员