18 references to AuthorizationFilterContext
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\ResourceInvoker.cs (1)
1598
public AuthorizationFilterContextSealed(ActionContext actionContext, IList<IFilterMetadata> filters) :
base
(actionContext, filters) { }
Microsoft.AspNetCore.Mvc.Core.Test (7)
Authorization\AuthorizeFilterTest.cs (3)
524
var context = new
AuthorizationFilterContext
(ActionContext, new[] { filter1, filter2 });
560
var context = new
AuthorizationFilterContext
(ActionContext, new[] { filter, });
631
var authorizationContext = new
AuthorizationFilterContext
(
Filters\DisableRequestSizeLimitFilterTest.cs (1)
117
return new
AuthorizationFilterContext
(CreateActionContext(), filters);
Filters\RequestFormLimitsFilterTest.cs (1)
132
return new
AuthorizationFilterContext
(CreateActionContext(), filters);
Filters\RequestSizeLimitFilterTest.cs (1)
123
return new
AuthorizationFilterContext
(CreateActionContext(), filters);
RequireHttpsAttributeTests.cs (1)
230
return new
AuthorizationFilterContext
(actionContext, new IFilterMetadata[0]);
Microsoft.AspNetCore.Mvc.Cors.Test (4)
CorsAuthorizationFilterTest.cs (1)
157
var authorizationContext = new
AuthorizationFilterContext
(
DisableCorsAuthorizationFilterTest.cs (3)
23
var authorizationFilterContext = new
AuthorizationFilterContext
(
42
var authorizationFilterContext = new
AuthorizationFilterContext
(
64
var authorizationFilterContext = new
AuthorizationFilterContext
(
Microsoft.AspNetCore.Mvc.IntegrationTests (4)
AuthorizeFilterIntegrationTest.cs (4)
42
var authorizationFilterContext = new
AuthorizationFilterContext
(actionContext, new[] { authorizeFilter });
70
var authorizationFilterContext = new
AuthorizationFilterContext
(actionContext, new[] { authorizeFilter });
101
var authorizationFilterContext = new
AuthorizationFilterContext
(actionContext, action.Filters);
137
var authorizationFilterContext = new
AuthorizationFilterContext
(actionContext, action.Filters);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
Filters\AutoValidateAntiforgeryTokenAuthorizationFilterTest.cs (1)
86
var context = new
AuthorizationFilterContext
(actionContext, new IFilterMetadata[]
Filters\ValidateAntiforgeryTokenAuthorizationFilterTest.cs (1)
62
var context = new
AuthorizationFilterContext
(actionContext, new IFilterMetadata[]