Share via


SignInManager<TUser>.GetTwoFactorAuthenticationUserAsync Metodo

Definizione

Ottiene l'oggetto per l'account TUser di accesso a due fattori corrente, come operazione asincrona.

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)

Restituisce

Task<TUser>

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

Si applica a