2 instantiations of AntiforgeryValidationFailedResult
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
Filters\AntiforgeryMiddlewareAuthorizationFilter.cs (1)
25
context.Result = new
AntiforgeryValidationFailedResult
();
Filters\ValidateAntiforgeryTokenAuthorizationFilter.cs (1)
42
context.Result = new
AntiforgeryValidationFailedResult
();
2 references to AntiforgeryValidationFailedResult
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
Filters\AntiforgeryMiddlewareAuthorizationFilterTest.cs (1)
29
Assert.IsType<
AntiforgeryValidationFailedResult
>(context.Result);
Filters\ValidateAntiforgeryTokenAuthorizationFilterTest.cs (1)
96
Assert.IsType<
AntiforgeryValidationFailedResult
>(context.Result);