IgnoreAntiforgeryTokenAttribute Třída

Definice

Filtr, který přeskočí ověření antiforgery tokenu.

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
Dědičnost
IgnoreAntiforgeryTokenAttribute
Atributy
Implementuje

Konstruktory

IgnoreAntiforgeryTokenAttribute()

Vlastnosti

Order

Získá hodnotu pořadí pro určení pořadí provádění filtrů. Filtry se spouští ve vzestupné číselné hodnotě Order vlastnosti.

Platí pro