Share via


TokenReplayValidator Delegate

Definition

Validates the replay of the security token.

public delegate bool TokenReplayValidator(DateTime? expirationTime, string securityToken, TokenValidationParameters validationParameters);
type TokenReplayValidator = delegate of Nullable<DateTime> * string * TokenValidationParameters -> bool
Public Delegate Function TokenReplayValidator(expirationTime As Nullable(Of DateTime), securityToken As String, validationParameters As TokenValidationParameters) As Boolean 

Parameters

expirationTime
Nullable<DateTime>

The 'expiration' time found in the SecurityToken.

securityToken
String

The SecurityToken being validated.

validationParameters
TokenValidationParameters

The TokenValidationParameters to be used for validating the token.

Return Value

true if the token replay is valid; otherwise, false.

Applies to