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

Usage

Visual Basic
Dim instance As Saml2SecurityTokenHandler
Dim tokenDescriptor As SecurityTokenDescriptor
Dim returnValue As SecurityToken

returnValue = instance.CreateToken(tokenDescriptor)

Syntax

Visual Basic
Public Overrides Function CreateToken ( _
		tokenDescriptor As SecurityTokenDescriptor _
) As SecurityToken
C#
public override SecurityToken CreateToken (
		SecurityTokenDescriptor tokenDescriptor
)
C++
public:
virtual SecurityToken^ CreateToken (
		SecurityTokenDescriptor^ tokenDescriptor
) override
J#
public SecurityToken CreateToken (
		SecurityTokenDescriptor tokenDescriptor
)
JScript
public override function CreateToken (
		tokenDescriptor : SecurityTokenDescriptor
) : SecurityToken

Parameters

tokenDescriptor

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