IUserPasswordStore<TUser, TKey> Interface

 

Defines the members for the user password store.

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

Syntax

public interface IUserPasswordStore<TUser, in TKey> : IUserStore<TUser, TKey>, 
    IDisposable
where TUser : class, IUser<TKey>
generic<typename TUser, typename TKey>
where TUser : ref class, IUser<TKey>
public interface class IUserPasswordStore : IUserStore<TUser, TKey>, 
    IDisposable
type IUserPasswordStore<'TUser, 'TKey when 'TUser : not struct and IUser<'TKey>> = 
    interface
        interface IUserStore<'TUser, 'TKey>
        interface IDisposable
    end
Public Interface IUserPasswordStore(Of TUser As { Class, IUser(Of TKey) }, In TKey)
    Inherits IUserStore(Of TUser, TKey), IDisposable

Type Parameters

  • TUser
    The type of the user in the store.
  • in TKey
    The type of the keys in the store.

Methods

Name Description
System_CAPS_pubmethod CreateAsync(TUser)

Asynchronously inserts a new user.(Inherited from IUserStore<TUser, TKey>.)

System_CAPS_pubmethod DeleteAsync(TUser)

Asynchronously deletes a user.(Inherited from IUserStore<TUser, TKey>.)

System_CAPS_pubmethod Dispose()

(Inherited from IDisposable.)

System_CAPS_pubmethod FindByIdAsync(TKey)

Asynchronously finds a user using the specified identifier.(Inherited from IUserStore<TUser, TKey>.)

System_CAPS_pubmethod FindByNameAsync(String)

Asynchronously finds a user by name.(Inherited from IUserStore<TUser, TKey>.)

System_CAPS_pubmethod GetPasswordHashAsync(TUser)

Asynchronously gets the user password hash.

System_CAPS_pubmethod HasPasswordAsync(TUser)

Indicates whether the user has a password set.

System_CAPS_pubmethod SetPasswordHashAsync(TUser, String)

Asynchronously sets the user password hash.

System_CAPS_pubmethod UpdateAsync(TUser)

Asynchronously updates a user.(Inherited from IUserStore<TUser, TKey>.)

See Also

Microsoft.AspNet.Identity Namespace
ASP.NET Identity

Return to top