Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SecurityTokenHandlerCollection::ValidateToken Method (SecurityToken^)

.NET Framework (current version)
 

Validates the specified security token.

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public:
ReadOnlyCollection<ClaimsIdentity^>^ ValidateToken(
	SecurityToken^ token
)

Parameters

token
Type: System.IdentityModel.Tokens::SecurityToken^

The token to validate.

Return Value

Type: System.Collections.ObjectModel::ReadOnlyCollection<ClaimsIdentity^>^

The identities that are contained in the token.

.NET Framework
Available since 4.5
Return to top
Show:
© 2017 Microsoft