SignInManager<TUser>.GetExternalLoginInfoAsync(String) Method

Definition

Gets the external login information for the current login, as an asynchronous operation.

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)

Parameters

expectedXsrf
String

Flag indication whether a Cross Site Request Forgery token was expected in the current request.

Returns

The task object representing the asynchronous operation containing the for the sign-in attempt.

Applies to