Udostępnij za pośrednictwem


IAuthorizationHandlerProvider.GetHandlersAsync Metoda

Definicja

Zwróć programy obsługi, które będą wywoływane dla żądania autoryzacji.

public:
 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>>
Public Function GetHandlersAsync (context As AuthorizationHandlerContext) As Task(Of IEnumerable(Of IAuthorizationHandler))

Parametry

Zwraca

Lista programów obsługi.

Dotyczy