DefaultAuthorizationHandlerProvider.GetHandlersAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
- context
- AuthorizationHandlerContext
L’AuthorizationHandlerContextopérateur
Retours
Liste des gestionnaires.