IUserClaimStore<TUser> Interface
Definition
Provides an abstraction for a store of claims for a user.
generic <typename TUser>
where TUser : classpublic interface class IUserClaimStore : IDisposable, Microsoft::AspNetCore::Identity::IUserStore<TUser>
public interface IUserClaimStore<TUser> : IDisposable, Microsoft.AspNetCore.Identity.IUserStore<TUser> where TUser : class
type IUserClaimStore<'User (requires 'User : null)> = interface
interface IUserStore<'User (requires 'User : null)>
interface IDisposable
Public Interface IUserClaimStore(Of TUser)
Implements IDisposable, IUserStore(Of TUser)
Type Parameters
- TUser
The type encapsulating a user.
- Derived
- Implements
Methods
AddClaimsAsync(TUser, IEnumerable<Claim>, CancellationToken) |
Add claims to a user as an asynchronous operation. |
CreateAsync(TUser, CancellationToken) |
Creates the specified |
DeleteAsync(TUser, CancellationToken) |
Deletes the specified |
FindByIdAsync(String, CancellationToken) |
Finds and returns a user, if any, who has the specified |
FindByNameAsync(String, CancellationToken) |
Finds and returns a user, if any, who has the specified normalized user name. (Inherited from IUserStore<TUser>) |
GetClaimsAsync(TUser, CancellationToken) |
Gets a list of Claims to be belonging to the specified |
GetNormalizedUserNameAsync(TUser, CancellationToken) |
Gets the normalized user name for the specified |
GetUserIdAsync(TUser, CancellationToken) |
Gets the user identifier for the specified |
GetUserNameAsync(TUser, CancellationToken) |
Gets the user name for the specified |
GetUsersForClaimAsync(Claim, CancellationToken) |
Returns a list of users who contain the specified Claim. |
RemoveClaimsAsync(TUser, IEnumerable<Claim>, CancellationToken) |
Removes the specified |
ReplaceClaimAsync(TUser, Claim, Claim, CancellationToken) |
Replaces the given |
SetNormalizedUserNameAsync(TUser, String, CancellationToken) |
Sets the given normalized name for the specified |
SetUserNameAsync(TUser, String, CancellationToken) |
Sets the given |
UpdateAsync(TUser, CancellationToken) |
Updates the specified |