We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c627886 commit cd151efCopy full SHA for cd151ef
src/Mvc/Mvc.Core/src/Authorization/AuthorizeFilter.cs
@@ -18,6 +18,10 @@ namespace Microsoft.AspNetCore.Mvc.Authorization;
18
/// <see cref="AuthorizationPolicy"/>. MVC recognizes the <see cref="AuthorizeAttribute"/> and adds an instance of
19
/// this filter to the associated action or controller.
20
/// </summary>
21
+/// <remarks>
22
+/// An authorize filter is not meant to be used in combination with <see cref="AuthorizationOptions.FallbackPolicy"/>.
23
+/// The fallback policy takes precedence over an authorize filter.
24
+/// </remarks>
25
public class AuthorizeFilter : IAsyncAuthorizationFilter, IFilterFactory
26
{
27
/// <summary>
0 commit comments