SignInManager<TUser>.GetExternalLoginInfoAsync(String) Metoda

Definice

Získá externí přihlašovací údaje pro aktuální přihlášení jako asynchronní operaci.

public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.ExternalLoginInfo> GetExternalLoginInfoAsync (string expectedXsrf = default);
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.ExternalLoginInfo?> GetExternalLoginInfoAsync (string? expectedXsrf = default);
abstract member GetExternalLoginInfoAsync : string -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.ExternalLoginInfo>
override this.GetExternalLoginInfoAsync : string -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.ExternalLoginInfo>
Public Overridable Function GetExternalLoginInfoAsync (Optional expectedXsrf As String = Nothing) As Task(Of ExternalLoginInfo)

Parametry

expectedXsrf
String

Příznak označují, jestli byl v aktuální žádosti očekáváný token žádosti mezi weby.

Návraty

Task<ExternalLoginInfo>

Objekt úkolu představující asynchronní operaci obsahující pokus o přihlášení.

Platí pro