共用方式為


SignInManager<TUser>.GetExternalAuthenticationSchemesAsync 方法

定義

取得已知外部登入提供者的 AuthenticationScheme 集合。

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

傳回

已知外部登入提供者的 AuthenticationScheme 集合。

適用於