JwtSecurityTokenHandler.ValidateTokenReplay Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.