IUserPasswordStore<TUser> Interface

 

Defines the members for a user password store.

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

Syntax

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

Type Parameters

  • TUser
    The type of user.

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.(Inherited from IUserPasswordStore<TUser, TKey>.)

System_CAPS_pubmethod HasPasswordAsync(TUser)

Indicates whether the user has a password set. (Inherited from IUserPasswordStore<TUser, TKey>.)

System_CAPS_pubmethod SetPasswordHashAsync(TUser, String)

Asynchronously sets the user password hash.(Inherited from IUserPasswordStore<TUser, TKey>.)

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