IUserEmailStore<TUser> Interface

 

Defines the methods to implement to store the user email.

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

Syntax

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

Type Parameters

  • TUser
    The type of the 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 FindByEmailAsync(String)

Asynchronously returns the user associated with this e-mail.(Inherited from IUserEmailStore<TUser, TKey>.)

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 GetEmailAsync(TUser)

Asynchronously gets the user e-mail.(Inherited from IUserEmailStore<TUser, TKey>.)

System_CAPS_pubmethod GetEmailConfirmedAsync(TUser)

Asynchronously returns true if the user email is confirmed.(Inherited from IUserEmailStore<TUser, TKey>.)

System_CAPS_pubmethod SetEmailAsync(TUser, String)

Asynchronously sets the user email.(Inherited from IUserEmailStore<TUser, TKey>.)

System_CAPS_pubmethod SetEmailConfirmedAsync(TUser, Boolean)

Asynchronously sets whether the user e-mail is confirmed.(Inherited from IUserEmailStore<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