Compartilhar via


JwtSecurityTokenHandler.ValidateTokenReplay Method

Definition

Determines if a JwtSecurityToken is already validated.

protected virtual void ValidateTokenReplay (DateTime? expires, string securityToken, Microsoft.IdentityModel.Tokens.TokenValidationParameters validationParameters);
abstract member ValidateTokenReplay : Nullable<DateTime> * string * Microsoft.IdentityModel.Tokens.TokenValidationParameters -> unit
override this.ValidateTokenReplay : Nullable<DateTime> * string * Microsoft.IdentityModel.Tokens.TokenValidationParameters -> unit
Protected Overridable Sub ValidateTokenReplay (expires As Nullable(Of DateTime), securityToken As String, validationParameters As TokenValidationParameters)

Parameters

expires
Nullable<DateTime>

The DateTime value of the 'exp' claim if it exists in the JwtSecurityToken'.

securityToken
String

The JwtSecurityToken that is being validated.

validationParameters
TokenValidationParameters

The TokenValidationParameters to be used for validating the token.

Applies to