IUserEmailStore<TUser> IUserEmailStore<TUser> IUserEmailStore<TUser> Interface

Definition

Provides an abstraction for the storage and management of user email addresses.

public interface IUserEmailStore<TUser> : IDisposable, Microsoft.AspNetCore.Identity.IUserStore<TUser> where TUser : class
type IUserEmailStore<'User (requires 'User : null)> = interface
    interface IUserStore<'User (requires 'User : null)>
    interface IDisposable
Public Interface IUserEmailStore(Of TUser)
Implements IDisposable, IUserStore(Of TUser)

Type Parameters

TUser

The type encapsulating a user.

Derived
Implements

Methods

CreateAsync(TUser, CancellationToken) CreateAsync(TUser, CancellationToken) CreateAsync(TUser, CancellationToken)

Creates the specified user in the user store.

(Inherited from IUserStore<TUser>)
DeleteAsync(TUser, CancellationToken) DeleteAsync(TUser, CancellationToken) DeleteAsync(TUser, CancellationToken)

Deletes the specified user from the user store.

(Inherited from IUserStore<TUser>)
FindByEmailAsync(String, CancellationToken) FindByEmailAsync(String, CancellationToken) FindByEmailAsync(String, CancellationToken)

Gets the user, if any, associated with the specified, normalized email address.

FindByIdAsync(String, CancellationToken) FindByIdAsync(String, CancellationToken) FindByIdAsync(String, CancellationToken)

Finds and returns a user, if any, who has the specified userId.

(Inherited from IUserStore<TUser>)
FindByNameAsync(String, CancellationToken) FindByNameAsync(String, CancellationToken) FindByNameAsync(String, CancellationToken)

Finds and returns a user, if any, who has the specified normalized user name.

(Inherited from IUserStore<TUser>)
GetEmailAsync(TUser, CancellationToken) GetEmailAsync(TUser, CancellationToken) GetEmailAsync(TUser, CancellationToken)

Gets the email address for the specified user.

GetEmailConfirmedAsync(TUser, CancellationToken) GetEmailConfirmedAsync(TUser, CancellationToken) GetEmailConfirmedAsync(TUser, CancellationToken)

Gets a flag indicating whether the email address for the specified user has been verified, true if the email address is verified otherwise false.

GetNormalizedEmailAsync(TUser, CancellationToken) GetNormalizedEmailAsync(TUser, CancellationToken) GetNormalizedEmailAsync(TUser, CancellationToken)

Returns the normalized email for the specified user.

GetNormalizedUserNameAsync(TUser, CancellationToken) GetNormalizedUserNameAsync(TUser, CancellationToken) GetNormalizedUserNameAsync(TUser, CancellationToken)

Gets the normalized user name for the specified user.

(Inherited from IUserStore<TUser>)
GetUserIdAsync(TUser, CancellationToken) GetUserIdAsync(TUser, CancellationToken) GetUserIdAsync(TUser, CancellationToken)

Gets the user identifier for the specified user.

(Inherited from IUserStore<TUser>)
GetUserNameAsync(TUser, CancellationToken) GetUserNameAsync(TUser, CancellationToken) GetUserNameAsync(TUser, CancellationToken)

Gets the user name for the specified user.

(Inherited from IUserStore<TUser>)
SetEmailAsync(TUser, String, CancellationToken) SetEmailAsync(TUser, String, CancellationToken) SetEmailAsync(TUser, String, CancellationToken)

Sets the email address for a user.

SetEmailConfirmedAsync(TUser, Boolean, CancellationToken) SetEmailConfirmedAsync(TUser, Boolean, CancellationToken) SetEmailConfirmedAsync(TUser, Boolean, CancellationToken)

Sets the flag indicating whether the specified user's email address has been confirmed or not.

SetNormalizedEmailAsync(TUser, String, CancellationToken) SetNormalizedEmailAsync(TUser, String, CancellationToken) SetNormalizedEmailAsync(TUser, String, CancellationToken)

Sets the normalized email for the specified user.

SetNormalizedUserNameAsync(TUser, String, CancellationToken) SetNormalizedUserNameAsync(TUser, String, CancellationToken) SetNormalizedUserNameAsync(TUser, String, CancellationToken)

Sets the given normalized name for the specified user.

(Inherited from IUserStore<TUser>)
SetUserNameAsync(TUser, String, CancellationToken) SetUserNameAsync(TUser, String, CancellationToken) SetUserNameAsync(TUser, String, CancellationToken)

Sets the given userName for the specified user.

(Inherited from IUserStore<TUser>)
UpdateAsync(TUser, CancellationToken) UpdateAsync(TUser, CancellationToken) UpdateAsync(TUser, CancellationToken)

Updates the specified user in the user store.

(Inherited from IUserStore<TUser>)

Applies to