Share via


Saml2SecurityTokenHandler.ValidateTokenReplay Method

Definition

Validates token for replay.

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

Parameters

expirationTime
Nullable<DateTime>

expiration time.

securityToken
String

the Saml2 token that is being validated.

validationParameters
TokenValidationParameters

The TokenValidationParameters to be used for validating the token.

Remarks

By default no validation is performed. Validation requires that TokenReplayCache has been set.

Applies to