Condividi tramite


SignInManager<TUser>.GetExternalLoginInfoAsync(String) Metodo

Definizione

Ottiene le informazioni di accesso esterne per l'account di accesso corrente, come operazione asincrona.

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)

Parametri

expectedXsrf
String

Contrassegnare l'indicazione se è stato previsto un token cross site Request Forgery nella richiesta corrente.

Restituisce

Oggetto attività che rappresenta l'operazione asincrona contenente l'oggetto per il tentativo di accesso.

Si applica a