IUserStore<TUser> IUserStore<TUser> IUserStore<TUser> Interface

Definition

Provides an abstraction for a store which manages user accounts.

public interface IUserStore<TUser> : IDisposable where TUser : class
type IUserStore<'User (requires 'User : null)> = interface
    interface IDisposable
Public Interface IUserStore(Of TUser)
Implements IDisposable

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.

DeleteAsync(TUser, CancellationToken) DeleteAsync(TUser, CancellationToken) DeleteAsync(TUser, CancellationToken)

Deletes the specified user from the user store.

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

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

FindByNameAsync(String, CancellationToken) FindByNameAsync(String, CancellationToken) FindByNameAsync(String, CancellationToken)

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

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

Gets the normalized user name for the specified user.

GetUserIdAsync(TUser, CancellationToken) GetUserIdAsync(TUser, CancellationToken) GetUserIdAsync(TUser, CancellationToken)

Gets the user identifier for the specified user.

GetUserNameAsync(TUser, CancellationToken) GetUserNameAsync(TUser, CancellationToken) GetUserNameAsync(TUser, CancellationToken)

Gets the user name 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.

SetUserNameAsync(TUser, String, CancellationToken) SetUserNameAsync(TUser, String, CancellationToken) SetUserNameAsync(TUser, String, CancellationToken)

Sets the given userName for the specified user.

UpdateAsync(TUser, CancellationToken) UpdateAsync(TUser, CancellationToken) UpdateAsync(TUser, CancellationToken)

Updates the specified user in the user store.

Applies to