AuthenticationSchemeProvider.GetSchemeAsync(String) Metoda

Definicja

Zwraca zgodną AuthenticationScheme nazwę lub wartość null.

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

Parametry

name
String

Nazwa uwierzytelnianiaScheme.

Zwraca

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

Implementuje

Dotyczy