IgnoreAntiforgeryTokenAttribute 类

定义

跳过防伪造令牌验证的筛选器。

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
继承
IgnoreAntiforgeryTokenAttribute
属性
实现

构造函数

IgnoreAntiforgeryTokenAttribute()

跳过防伪造令牌验证的筛选器。

属性

Order

获取用于确定筛选器执行顺序的顺序值。 筛选器以 属性的 Order 升序数值执行。

适用于