Share via


SignInManager<TUser>.GetTwoFactorAuthenticationUserAsync Methode

Definition

Ruft den TUser für die aktuelle Zwei-Faktor-Authentifizierungsanmeldung als asynchronen Vorgang ab.

public:
 virtual System::Threading::Tasks::Task<TUser> ^ GetTwoFactorAuthenticationUserAsync();
public virtual System.Threading.Tasks.Task<TUser> GetTwoFactorAuthenticationUserAsync ();
public virtual System.Threading.Tasks.Task<TUser?> GetTwoFactorAuthenticationUserAsync ();
abstract member GetTwoFactorAuthenticationUserAsync : unit -> System.Threading.Tasks.Task<'User (requires 'User : null)>
override this.GetTwoFactorAuthenticationUserAsync : unit -> System.Threading.Tasks.Task<'User (requires 'User : null)>
Public Overridable Function GetTwoFactorAuthenticationUserAsync () As Task(Of TUser)

Gibt zurück

Task<TUser>

Das Taskobjekt, das den asynchronen Vorgang darstellt, der den TUser für den Anmeldeversuch enthält.

Gilt für: