Bagikan melalui


IAuthenticationSchemeProvider.GetSchemeAsync(String) Metode

Definisi

Mengembalikan nama yang AuthenticationScheme cocok, atau 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)

Parameter

name
String

Nama authenticationScheme.

Mengembalikan

Skema atau null jika tidak ditemukan.

Berlaku untuk