UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim>.GetPasswordHashAsync Method

Asynchronously gets the password hash for a user.

Namespace:  Microsoft.AspNet.Identity.EntityFramework
Assembly:  Microsoft.AspNet.Identity.EntityFramework (in Microsoft.AspNet.Identity.EntityFramework.dll)

Syntax

'Declaration
Public Function GetPasswordHashAsync ( _
    user As TUser _
) As Task(Of String)
'Usage
Dim instance As UserStore 
Dim user As TUser
Dim returnValue As Task(Of String)

returnValue = instance.GetPasswordHashAsync(user)
public Task<string> GetPasswordHashAsync(
    TUser user
)
public:
virtual Task<String^>^ GetPasswordHashAsync(
    TUser user
) sealed
abstract GetPasswordHashAsync : 
        user:'TUser -> Task<string> 
override GetPasswordHashAsync : 
        user:'TUser -> Task<string> 
public final function GetPasswordHashAsync(
    user : TUser
) : Task<String>

Parameters

  • user
    Type: TUser
    The user.

Return Value

Type: System.Threading.Tasks.Task<String>
The task representing the asynchronous operation.

Implements

IUserPasswordStore<TUser, TKey>.GetPasswordHashAsync(TUser)

See Also

Reference

UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim> Class

Microsoft.AspNet.Identity.EntityFramework Namespace

Other Resources

ASP.NET Identity