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 <noreply@github.com>2022-10-13 00:01:21 +0300
commitf21e6807e64f51337bf2aa6e4a74a2e5fa80a36c (patch)
tree8abbfe7fece664fd6fe4028329dbbff435ccc274
parent1a96a051359574fbd2055eee6a1bcd38b4f3f205 (diff)
Update AuthorizeFilter.cswtgodbe/FallbackpolicyComment
-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>