Share via


JwtSecurityTokenHandler.ValidateToken Method

Include Protected Members
Include Inherited Members

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method ValidateToken(SecurityToken) Validates a JwtSecurityToken and returns ReadOnlyCollection<T>.
Public method ValidateToken(String) Reads and validates a token encoded in JSON Compact serialized format.
Public method ValidateToken(JwtSecurityToken) Validates a JwtSecurityToken and returns a ClaimsPrincipal.
Public method ValidateToken(String, TokenValidationParameters) Reads and validates a token encoded in JSON Compact serialized format.
Public method ValidateToken(JwtSecurityToken, TokenValidationParameters) Validates a JwtSecurityToken and returns a ClaimsPrincipal.

Top

See Also

Reference

JwtSecurityTokenHandler Class

System.IdentityModel.Tokens Namespace