Delen via


IgnoreAntiforgeryTokenAttribute Class

Definition

A filter that skips antiforgery token validation.

public ref class IgnoreAntiforgeryTokenAttribute : Attribute, Microsoft::AspNetCore::Mvc::Filters::IOrderedFilter, Microsoft::AspNetCore::Mvc::ViewFeatures::IAntiforgeryPolicy
[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
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)>]
type IgnoreAntiforgeryTokenAttribute = class
    inherit Attribute
    interface IAntiforgeryPolicy
    interface IFilterMetadata
    interface IOrderedFilter
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)>]
type IgnoreAntiforgeryTokenAttribute = class
    inherit Attribute
    interface IFilterMetadata
    interface IOrderedFilter
    interface IAntiforgeryPolicy
Public Class IgnoreAntiforgeryTokenAttribute
Inherits Attribute
Implements IAntiforgeryPolicy, IOrderedFilter
Inheritance
IgnoreAntiforgeryTokenAttribute
Attributes
Implements

Constructors

IgnoreAntiforgeryTokenAttribute()

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