Partager via


SamlSecurityTokenHandler.ValidateTokenReplay Method

Definition

Validates the token replay.

protected virtual void ValidateTokenReplay (DateTime? expiration, string token, 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 (expiration As Nullable(Of DateTime), token As String, validationParameters As TokenValidationParameters)

Parameters

expiration
Nullable<DateTime>

expiration time of the SamlSecurityToken

token
String

SamlSecurityToken to validate

validationParameters
TokenValidationParameters

The TokenValidationParameters to be used for validating the token.

Applies to