TokenReplayValidationDelegate 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.
Definition for delegate that will validate that a SecurityToken has not been replayed.
public delegate Microsoft.IdentityModel.Tokens.Experimental.ValidationResult<DateTime?,Microsoft.IdentityModel.Tokens.Experimental.ValidationError> TokenReplayValidationDelegate(DateTime? expirationTime, string securityToken, ValidationParameters validationParameters, CallContext callContext);
type TokenReplayValidationDelegate = delegate of Nullable<DateTime> * string * ValidationParameters * CallContext -> ValidationResult<Nullable<DateTime>, ValidationError>
Public Delegate Function TokenReplayValidationDelegate(expirationTime As Nullable(Of DateTime), securityToken As String, validationParameters As ValidationParameters, callContext As CallContext) As ValidationResult(Of Nullable(Of DateTime), ValidationError)
Parameters
When does the SecurityToken expire..
- securityToken
- String
The security token that is being validated.
- validationParameters
- ValidationParameters
The ValidationParameters to be used for validating the token.
- callContext
- CallContext
The CallContext that contains call information.
Return Value
A ValidationResult<TResult,TError> that contains the results of validating the token.
Remarks
This delegate is not expected to throw.