2 implementations of IAntiforgeryPolicy
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
Filters\ValidateAntiforgeryTokenAuthorizationFilter.cs (1)
10internal partial class ValidateAntiforgeryTokenAuthorizationFilter : IAsyncAuthorizationFilter, IAntiforgeryPolicy
IgnoreAntiforgeryTokenAttribute.cs (1)
13public class IgnoreAntiforgeryTokenAttribute : Attribute, IAntiforgeryPolicy, IOrderedFilter
5 references to IAntiforgeryPolicy
Microsoft.AspNetCore.Mvc.RazorPages (1)
ApplicationModels\AutoValidateAntiforgeryPageApplicationModelProvider.cs (1)
29if (!pageApplicationModel.Filters.OfType<IAntiforgeryPolicy>().Any())
Microsoft.AspNetCore.Mvc.RazorPages.Test (2)
Filters\AutoValidateAntiforgeryPageApplicationModelProviderTest.cs (2)
67var expected = Mock.Of<IAntiforgeryPolicy>();
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
Filters\ValidateAntiforgeryTokenAuthorizationFilter.cs (2)
27if (!context.IsEffectivePolicy<IAntiforgeryPolicy>(this)) 29Log.NotMostEffectiveFilter(_logger, typeof(IAntiforgeryPolicy));