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 遞增數值執行。

適用於