Bagikan melalui


IgnoreAntiforgeryTokenAttribute Kelas

Definisi

Filter yang melewati validasi token antiforgery.

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
Warisan
IgnoreAntiforgeryTokenAttribute
Atribut
Penerapan

Konstruktor

IgnoreAntiforgeryTokenAttribute()

Filter yang melewati validasi token antiforgery.

Properti

Order

Mendapatkan nilai pesanan untuk menentukan urutan eksekusi filter. Filter dijalankan dalam nilai Order numerik properti yang naik.

Berlaku untuk