IPasswordValidator Interface¶
Methods¶
-
ValidateAsync<TUser>
(Microsoft.AspNet.Identity.UserManager<TUser>, TUser, System.String)¶ Validates a password as an asynchronous operation.
Arguments: - manager (Microsoft.AspNet.Identity.UserManager{{TUser}}) – The
Microsoft.AspNet.Identity.UserManager`1 to retrieve the
user
properties from. - user ({TUser}) – The user whose password should be validated.
- password (System.String) – The password supplied for validation
Return type: System.Threading.Tasks.Task{Microsoft.AspNet.Identity.IdentityResult}
Returns: The task object representing the asynchronous operation.
Task<IdentityResult> ValidateAsync<TUser>(UserManager<TUser> manager, TUser user, string password)where TUser : class
- manager (Microsoft.AspNet.Identity.UserManager{{TUser}}) – The
Microsoft.AspNet.Identity.UserManager`1 to retrieve the
-