Пространство имен: Microsoft.IdentityModel.Tokens
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)

Использование

Visual Basic
Dim claimsPrincipal As IClaimsPrincipal
Dim lifetime As TimeSpan

Dim instance As New SessionSecurityToken(claimsPrincipal, lifetime)

Синтаксис

Visual Basic
Public Sub New ( _
		claimsPrincipal As IClaimsPrincipal, _
		lifetime As TimeSpan _
)
C#
public SessionSecurityToken (
		IClaimsPrincipal claimsPrincipal,
		TimeSpan lifetime
)
C++
public:
SessionSecurityToken (
		IClaimsPrincipal^ claimsPrincipal, 
		TimeSpan lifetime
)
J#
public SessionSecurityToken (
		IClaimsPrincipal claimsPrincipal, 
		TimeSpan lifetime
)
JScript
public function SessionSecurityToken (
		claimsPrincipal : IClaimsPrincipal, 
		lifetime : TimeSpan
)

Параметры

claimsPrincipal
lifetime

Платформы

Платформа разработки

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

См. также