Sdílet prostřednictvím


SignInManager<TUser>.GetTwoFactorAuthenticationUserAsync Metoda

Definice

TUser Získá pro aktuální dvoufaktorové ověřování přihlášení jako asynchronní operace.

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)

Návraty

Task<TUser>

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

Platí pro