AuthenticationSchemeProvider.GetSchemeAsync(String) Metoda

Definice

AuthenticationScheme Vrátí odpovídající název nebo hodnotu 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

Název ověřováníScheme.

Návraty

Task<AuthenticationScheme>

Schéma nebo hodnota null, pokud nebyla nalezena.

Implementuje

Platí pro