共用方式為


TokenValidationParameters.ValidateTokenReplay Property

Definition

Gets or sets a boolean to control if the token replay will be validated during token validation.

public bool ValidateTokenReplay { get; set; }
member this.ValidateTokenReplay : bool with get, set
Public Property ValidateTokenReplay As Boolean

Property Value

Remarks

This boolean only applies to default token replay validation. If TokenReplayValidator is set, it will be called regardless of whether this property is true or false. The default is false.

Applies to