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: