Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Godbe <wigodbe@microsoft.com>2022-10-13 00:01:21 +0300
committergithub-actions <github-actions@github.com>2022-10-13 00:03:20 +0300
commite54f1e298696f8ec61cb421faf2bdddba727431f (patch)
tree3f3ea9fabed02050fbb2bfcfcc0cb3870462d713
parent866570a72f5edca4e30541766535481f2140080c (diff)
Update AuthorizeFilter.csbackport/pr-44505-to-release/7.0
-rw-r--r--src/Mvc/Mvc.Core/src/Authorization/AuthorizeFilter.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Mvc/Mvc.Core/src/Authorization/AuthorizeFilter.cs b/src/Mvc/Mvc.Core/src/Authorization/AuthorizeFilter.cs
index 5a641bd631..e6d45582a3 100644
--- a/src/Mvc/Mvc.Core/src/Authorization/AuthorizeFilter.cs
+++ b/src/Mvc/Mvc.Core/src/Authorization/AuthorizeFilter.cs
@@ -18,6 +18,10 @@ namespace Microsoft.AspNetCore.Mvc.Authorization;
/// <see cref="AuthorizationPolicy"/>. MVC recognizes the <see cref="AuthorizeAttribute"/> and adds an instance of
/// this filter to the associated action or controller.
/// </summary>
+/// <remarks>
+/// This is not meant to be used in combination with <see cref="AuthorizationOptions.FallbackPolicy"/>.
+/// The FallbackPolicy will take precedence over this.
+/// </remarks>
public class AuthorizeFilter : IAsyncAuthorizationFilter, IFilterFactory
{
/// <summary>