3 instantiations of AutoValidateAntiforgeryTokenAttribute
Microsoft.AspNetCore.Mvc.RazorPages (1)
ApplicationModels\AutoValidateAntiforgeryPageApplicationModelProvider.cs (1)
32
pageApplicationModel.Filters.Add(new
AutoValidateAntiforgeryTokenAttribute
());
SecurityWebSite (2)
Controllers\AntiforgeryController.cs (1)
8
[
AutoValidateAntiforgeryToken
]
Controllers\HomeController.cs (1)
16
[
AutoValidateAntiforgeryToken
]
3 references to AutoValidateAntiforgeryTokenAttribute
Microsoft.AspNetCore.App.Analyzers.Test (1)
Verifiers\CSharpAnalyzerVerifier.cs (1)
80
TrimAssemblyExtension(typeof(Microsoft.AspNetCore.Mvc.
AutoValidateAntiforgeryTokenAttribute
).Assembly.Location),
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
Filters\AutoValidateAntiforgeryPageApplicationModelProviderTest.cs (1)
35
filter => Assert.IsType<
AutoValidateAntiforgeryTokenAttribute
>(filter));
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
AutoValidateAntiforgeryTokenAttribute.cs (1)
17
/// <see cref="
AutoValidateAntiforgeryTokenAttribute
"/> can be applied as a global filter to trigger