SignInManager<TUser>.GetTwoFactorAuthenticationUserAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the TUser
for the current two factor authentication login, as an asynchronous operation.
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)
Returns
Task<TUser>
The task object representing the asynchronous operation containing the TUser
for the sign-in attempt.