SignInManager<TUser>.GetTwoFactorAuthenticationUserAsync Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
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
Oggetto attività che rappresenta l'operazione asincrona contenente l'oggetto TUser per il tentativo di accesso.