次の方法で共有


SignInManager<TUser>.GetTwoFactorAuthenticationUserAsync メソッド

定義

現在の 2 要素認証ログインの を TUser 非同期操作として取得します。

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)

戻り値

Task<TUser>

サインイン試行の を含む非同期操作を TUser 表すタスク オブジェクト。

適用対象