Saml2SecurityTokenHandler.ValidateTokenReplay Method
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 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
- 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.