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

适用于