ICorsAuthorizationFilter ICorsAuthorizationFilter ICorsAuthorizationFilter Interface

Definition

A filter that can be used to enable/disable CORS support for a resource.

public interface ICorsAuthorizationFilter : Microsoft.AspNetCore.Mvc.Filters.IAsyncAuthorizationFilter, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter
type ICorsAuthorizationFilter = interface
    interface IAsyncAuthorizationFilter
    interface IFilterMetadata
    interface IOrderedFilter
Public Interface ICorsAuthorizationFilter
Implements IAsyncAuthorizationFilter, IOrderedFilter
Derived
Implements

Methods

OnAuthorizationAsync(AuthorizationFilterContext) OnAuthorizationAsync(AuthorizationFilterContext) OnAuthorizationAsync(AuthorizationFilterContext)

Called early in the filter pipeline to confirm request is authorized.

(Inherited from IAsyncAuthorizationFilter)

Properties

Order Order Order

Gets the order value for determining the order of execution of filters. Filters execute in ascending numeric value of the Order property.

(Inherited from IOrderedFilter)

Applies to