DefaultUserConfirmation<TUser>.IsConfirmedAsync 方法

定义

确定是否确认指定的 user

public:
 virtual System::Threading::Tasks::Task<bool> ^ IsConfirmedAsync(Microsoft::AspNetCore::Identity::UserManager<TUser> ^ manager, TUser user);
public virtual System.Threading.Tasks.Task<bool> IsConfirmedAsync (Microsoft.AspNetCore.Identity.UserManager<TUser> manager, TUser user);
abstract member IsConfirmedAsync : Microsoft.AspNetCore.Identity.UserManager<'User (requires 'User : null)> * 'User -> System.Threading.Tasks.Task<bool>
override this.IsConfirmedAsync : Microsoft.AspNetCore.Identity.UserManager<'User (requires 'User : null)> * 'User -> System.Threading.Tasks.Task<bool>
Public Overridable Function IsConfirmedAsync (manager As UserManager(Of TUser), user As TUser) As Task(Of Boolean)

参数

manager
UserManager<TUser>

UserManager<TUser>可用于检索用户属性的 。

user
TUser

用户。

返回

表示 Task 异步操作的 ,其中包含 IdentityResult 确认操作的 。

实现

适用于