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

Usage

Visual Basic
Dim instance As WindowsUserNameSecurityTokenHandler
Dim token As SecurityToken
Dim returnValue As ClaimsIdentityCollection

returnValue = instance.ValidateToken(token)

Syntax

Visual Basic
Public Overrides Function ValidateToken ( _
		token As SecurityToken _
) As ClaimsIdentityCollection
C#
public override ClaimsIdentityCollection ValidateToken (
		SecurityToken token
)
C++
public:
virtual ClaimsIdentityCollection^ ValidateToken (
		SecurityToken^ token
) override
J#
public ClaimsIdentityCollection ValidateToken (
		SecurityToken token
)
JScript
public override function ValidateToken (
		token : SecurityToken
) : ClaimsIdentityCollection

Parameters

token

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