Partager via


DefaultAuthorizationHandlerProvider.GetHandlersAsync Méthode

Définition

Retourne les gestionnaires qui seront appelés pour la demande d’autorisation.

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

Paramètres

Retours

Liste des gestionnaires.

Implémente

S’applique à