Skip to content
代码片段 群组 项目
提交 b0363ef7 编辑于 作者: dotnet-bot's avatar dotnet-bot
浏览文件

Merge in 'release/7.0' changes

No related branches found
No related tags found
无相关合并请求
...@@ -18,6 +18,10 @@ namespace Microsoft.AspNetCore.Mvc.Authorization; ...@@ -18,6 +18,10 @@ namespace Microsoft.AspNetCore.Mvc.Authorization;
/// <see cref="AuthorizationPolicy"/>. MVC recognizes the <see cref="AuthorizeAttribute"/> and adds an instance of /// <see cref="AuthorizationPolicy"/>. MVC recognizes the <see cref="AuthorizeAttribute"/> and adds an instance of
/// this filter to the associated action or controller. /// this filter to the associated action or controller.
/// </summary> /// </summary>
/// <remarks>
/// An authorize filter is not meant to be used in combination with <see cref="AuthorizationOptions.FallbackPolicy"/>.
/// The fallback policy takes precedence over an authorize filter.
/// </remarks>
public class AuthorizeFilter : IAsyncAuthorizationFilter, IFilterFactory public class AuthorizeFilter : IAsyncAuthorizationFilter, IFilterFactory
{ {
/// <summary> /// <summary>
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册