Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Asynchronously sets the password hash for a user.
Namespace: Microsoft.AspNet.Identity.EntityFramework Assembly: Microsoft.AspNet.Identity.EntityFramework (in Microsoft.AspNet.Identity.EntityFramework.dll)
Syntax
public virtual Task SetPasswordHashAsync(
TUser user,
string passwordHash
)
public:
virtual Task^ SetPasswordHashAsync(
TUser user,
String^ passwordHash
)
abstract SetPasswordHashAsync :
user:'TUser *
passwordHash:string -> Task
override SetPasswordHashAsync :
user:'TUser *
passwordHash:string -> Task
Public Overridable Function SetPasswordHashAsync (
user As TUser,
passwordHash As String
) As Task
Parameters
user Type: TUser
The user.
passwordHash Type: System.String
The password hash.
Return Value
Type: System.Threading.Tasks.Task
The task representing the asynchronous operation.
Implements
IUserPasswordStore<TUser, TKey>.SetPasswordHashAsync(TUser, String)
See Also
UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim> Class Microsoft.AspNet.Identity.EntityFramework Namespace [ASP.NET Identity](https://go.microsoft.com/fwlink/p/?linkid=393664.
Return to top