IgnoreAntiforgeryTokenAttribute Class

Definition

A filter that skips antiforgery token validation.

C#
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public class IgnoreAntiforgeryTokenAttribute : Attribute, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter, Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy
Inheritance
IgnoreAntiforgeryTokenAttribute
Attributes
Implements

Constructors

Properties

Order

Gets the order value for determining the order of execution of filters. Filters execute in ascending numeric value of the Order property.

Applies to

Product Versions
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0