SignInManager<TUser>.RememberTwoFactorClientAsync(TUser) 方法

定义

在浏览器上设置一个标志,以指示用户已选择“记住此浏览器”作为异步操作进行双重身份验证。

public:
 virtual System::Threading::Tasks::Task ^ RememberTwoFactorClientAsync(TUser user);
public virtual System.Threading.Tasks.Task RememberTwoFactorClientAsync (TUser user);
abstract member RememberTwoFactorClientAsync : 'User -> System.Threading.Tasks.Task
override this.RememberTwoFactorClientAsync : 'User -> System.Threading.Tasks.Task
Public Overridable Function RememberTwoFactorClientAsync (user As TUser) As Task

参数

user
TUser

选择“记住此浏览器”的用户。

返回

表示异步操作的任务对象。

适用于