共用方式為


IAuthenticationSchemeProvider.GetAllSchemesAsync 方法

定義

傳回所有目前已註冊 AuthenticationScheme 的 。

public:
 System::Threading::Tasks::Task<System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Authentication::AuthenticationScheme ^> ^> ^ GetAllSchemesAsync();
public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authentication.AuthenticationScheme>> GetAllSchemesAsync ();
abstract member GetAllSchemesAsync : unit -> System.Threading.Tasks.Task<seq<Microsoft.AspNetCore.Authentication.AuthenticationScheme>>
Public Function GetAllSchemesAsync () As Task(Of IEnumerable(Of AuthenticationScheme))

傳回

所有目前註冊 AuthenticationScheme 的 。

適用於