SignInManager<TUser>.GetExternalLoginInfoAsync(String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient les informations de connexion externes pour la connexion actuelle, en tant qu’opération asynchrone.
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)
Paramètres
- expectedXsrf
- String
Indicateur indiquant si un jeton de falsification de requête intersite était attendu dans la requête actuelle.
Retours
Objet de tâche représentant l’opération asynchrone contenant le pour la tentative de connexion.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour