<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="8.19.1" />

Microsoft.IdentityModel.Tokens.Experimental.TokenReplayValidationError

Represents a validation error when a SecurityToken replay is detected. If available, the expiration time of the SecurityToken that failed the validation is included.
public DateTime? ExpirationTime { get; }

The expiration time of the token that failed the validation.

public TokenReplayValidationError(MessageDetail messageDetail, ValidationFailureType validationFailure, StackFrame stackFrame, DateTime? expirationTime)

Initializes a new instance of the TokenReplayValidationError class.

public TokenReplayValidationError(MessageDetail messageDetail, ValidationFailureType validationFailure, StackFrame stackFrame, DateTime? expirationTime, Exception innerException)

Initializes a new instance of the TokenReplayValidationError class.