Sdílet prostřednictvím


DefaultAuthorizationHandlerProvider.GetHandlersAsync Metoda

Definice

Vrátí obslužné rutiny, které se budou volat pro žádost o autorizaci.

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))

Parametry

Návraty

Seznam obslužných rutin.

Implementuje

Platí pro