IAsyncAuthorizationFilter 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
异步确认请求授权的筛选器。
public interface class IAsyncAuthorizationFilter : Microsoft::AspNetCore::Mvc::Filters::IFilterMetadata
public interface IAsyncAuthorizationFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata
type IAsyncAuthorizationFilter = interface
interface IFilterMetadata
Public Interface IAsyncAuthorizationFilter
Implements IFilterMetadata
- 派生
- 实现
方法
OnAuthorizationAsync(AuthorizationFilterContext) |
在筛选器管道中提前调用以确认请求是否已授权。 |