IgnoreAntiforgeryTokenAttribute IgnoreAntiforgeryTokenAttribute IgnoreAntiforgeryTokenAttribute Class

Definition

A filter that skips antiforgery token validation.

[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
type IgnoreAntiforgeryTokenAttribute = class
    inherit Attribute
    interface IAntiforgeryPolicy
    interface IFilterMetadata
    interface IOrderedFilter
Public Class IgnoreAntiforgeryTokenAttribute
Inherits Attribute
Implements IAntiforgeryPolicy, IOrderedFilter
Inheritance
IgnoreAntiforgeryTokenAttributeIgnoreAntiforgeryTokenAttributeIgnoreAntiforgeryTokenAttribute
Attributes
Implements

Constructors

IgnoreAntiforgeryTokenAttribute() IgnoreAntiforgeryTokenAttribute() IgnoreAntiforgeryTokenAttribute()

Properties

Order Order 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