IAuthenticationSchemeProvider.GetSchemeAsync(String) Metoda

Definicja

Zwraca zgodną AuthenticationScheme nazwę lub wartość 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)

Parametry

name
String

Nazwa uwierzytelnianiaScheme.

Zwraca

Schemat lub wartość null, jeśli nie zostanie znaleziona.

Dotyczy