DefaultAuthorizationHandlerProvider.GetHandlersAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回将为授权请求调用的处理程序。
public:
virtual System::Threading::Tasks::Task<System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Authorization::IAuthorizationHandler ^> ^> ^ GetHandlersAsync(Microsoft::AspNetCore::Authorization::AuthorizationHandlerContext ^ context);
public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationHandler>> GetHandlersAsync (Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext context);
abstract member GetHandlersAsync : Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext -> System.Threading.Tasks.Task<seq<Microsoft.AspNetCore.Authorization.IAuthorizationHandler>>
override this.GetHandlersAsync : Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext -> System.Threading.Tasks.Task<seq<Microsoft.AspNetCore.Authorization.IAuthorizationHandler>>
Public Function GetHandlersAsync (context As AuthorizationHandlerContext) As Task(Of IEnumerable(Of IAuthorizationHandler))
参数
返回
处理程序列表。