Partager via


IAuthenticationSchemeProvider.GetSchemeAsync(String) Méthode

Définition

Retourne le AuthenticationScheme nom correspondant ou null.

public:
 System::Threading::Tasks::Task<Microsoft::AspNetCore::Authentication::AuthenticationScheme ^> ^ GetSchemeAsync(System::String ^ name);
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationScheme> GetSchemeAsync (string name);
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationScheme?> GetSchemeAsync (string name);
abstract member GetSchemeAsync : string -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationScheme>
Public Function GetSchemeAsync (name As String) As Task(Of AuthenticationScheme)

Paramètres

name
String

Nom de l’authentificationScheme.

Retours

Schéma ou null si introuvable.

S’applique à