Show / Hide Table of Contents

Interface IUserStore<TUser>

Provides an abstraction for a store which manages user accounts.

Inherited Members
Microsoft.AspNetCore.Identity.IUserStore<TUser>.GetUserIdAsync(TUser, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.IUserStore<TUser>.GetUserNameAsync(TUser, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.IUserStore<TUser>.SetUserNameAsync(TUser, System.String, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.IUserStore<TUser>.GetNormalizedUserNameAsync(TUser, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.IUserStore<TUser>.SetNormalizedUserNameAsync(TUser, System.String, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.IUserStore<TUser>.CreateAsync(TUser, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.IUserStore<TUser>.UpdateAsync(TUser, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.IUserStore<TUser>.DeleteAsync(TUser, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.IUserStore<TUser>.FindByIdAsync(System.String, System.Threading.CancellationToken)
IUserStore<TUser>.FindByNameAsync(String, CancellationToken)
System.IDisposable.Dispose()
IEventStore.SaveEvents(IEventSourced, CancellationToken)
Namespace: IRM.AspNetCore.Identity
Assembly: IRM.AspNetCore.Identity.dll
Syntax
public interface IUserStore<TUser> : IUserStore<TUser>, IDisposable, IEventStore where TUser : class
Type Parameters
TUser

The type encapsulating a user.

Methods

GetSystemUsersAsync(CancellationToken)

Gets all users that represents systems.

Declaration
Task<List<TUser>> GetSystemUsersAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
System.Threading.CancellationToken cancellationToken

A System.Threading.CancellationToken to observe while waiting for the task to complete.

Returns
System.Threading.Tasks.Task<List<TUser>>

The System.Threading.Tasks.Task that represents the asynchronous operation, containing the users that represents systems.

RemoveAuthenticatorKey(TUser, CancellationToken)

Removes the shared key used with an authenticator app.

Declaration
Task RemoveAuthenticatorKey(TUser user, CancellationToken cancellationToken = default(CancellationToken))
Parameters
TUser user

The user to remove the key for.

System.Threading.CancellationToken cancellationToken

A System.Threading.CancellationToken to observe while waiting for the task to complete.

Returns
System.Threading.Tasks.Task

The System.Threading.Tasks.Task that represents the asynchronous operation.

Back to top Generated by DocFX