다음을 통해 공유


ISecurityTokenValidator.ValidateToken Method

Definition

Validates a token passed as a string using TokenValidationParameters

public System.Security.Claims.ClaimsPrincipal ValidateToken (string securityToken, Microsoft.IdentityModel.Tokens.TokenValidationParameters validationParameters, out Microsoft.IdentityModel.Tokens.SecurityToken validatedToken);
abstract member ValidateToken : string * Microsoft.IdentityModel.Tokens.TokenValidationParameters * SecurityToken -> System.Security.Claims.ClaimsPrincipal
Public Function ValidateToken (securityToken As String, validationParameters As TokenValidationParameters, ByRef validatedToken As SecurityToken) As ClaimsPrincipal

Parameters

securityToken
String
validationParameters
TokenValidationParameters
validatedToken
SecurityToken

Returns

Applies to