Namespace: Microsoft.IdentityModel.Tokens
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As SessionSecurityTokenHandler
Dim principal As IClaimsPrincipal
Dim context As String
Dim endpointId As String
Dim validFrom As DateTime
Dim validTo As DateTime
Dim returnValue As SessionSecurityToken

returnValue = instance.CreateSessionSecurityToken(principal, context, endpointId, validFrom, validTo)

Syntax

Visual Basic
Public Overridable Function CreateSessionSecurityToken ( _
		principal As IClaimsPrincipal, _
		context As String, _
		endpointId As String, _
		validFrom As DateTime, _
		validTo As DateTime _
) As SessionSecurityToken
C#
public virtual SessionSecurityToken CreateSessionSecurityToken (
		IClaimsPrincipal principal,
		string context,
		string endpointId,
		DateTime validFrom,
		DateTime validTo
)
C++
public:
virtual SessionSecurityToken^ CreateSessionSecurityToken (
		IClaimsPrincipal^ principal, 
		String^ context, 
		String^ endpointId, 
		DateTime validFrom, 
		DateTime validTo
)
J#
public SessionSecurityToken CreateSessionSecurityToken (
		IClaimsPrincipal principal, 
		String context, 
		String endpointId, 
		DateTime validFrom, 
		DateTime validTo
)
JScript
public function CreateSessionSecurityToken (
		principal : IClaimsPrincipal, 
		context : String, 
		endpointId : String, 
		validFrom : DateTime, 
		validTo : DateTime
) : SessionSecurityToken

Parameters

principal
context
endpointId
validFrom
validTo

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

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

See Also