TokenReplayValidator Delegate
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.
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
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
.