IgnoreAntiforgeryTokenAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |