Compartir a través de


IAuthenticationSchemeProvider.GetSchemeAsync(String) Método

Definición

Devuelve el AuthenticationScheme objeto que coincide con el nombre o 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)

Parámetros

name
String

Nombre de authenticationScheme.

Devoluciones

Esquema o null si no se encuentra.

Se aplica a