Dela via


RequireAntiforgeryTokenAttribute.RequiresValidation Property

Definition

Gets or sets a value indicating whether the antiforgery token should be validated.

public bool RequiresValidation { get; }
member this.RequiresValidation : bool
Public ReadOnly Property RequiresValidation As Boolean

Property Value

Implements

Remarks

Defaults to true; false indicates that the validation check for the antiforgery token can be avoided.

Applies to