Show / Hide Table of Contents

Class UserStore<TUser, TRole, TUserLogin, TContext>

Represents a new instance of a persistence store for the specified user and role types.

Inheritance
Object
UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>
UserStoreBase<TUser, TRole, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>
Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser, TRole, TContext, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>
UserStore<TUser, TRole, TUserLogin, TContext>
MultitenantUserStore<TUser, TRole, TContext>
UserStore<TContext>
Inherited Members
Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser, TRole, TContext, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.SaveChanges(System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser, TRole, TContext, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.CreateAsync(TUser, System.Threading.CancellationToken)
UserStore<TUser, TRole, TContext, Guid, IdentityUserClaim<Guid>, IdentityUserRole<Guid>, TUserLogin, IdentityUserToken<Guid>, IdentityRoleClaim<Guid>>.UpdateAsync(TUser, CancellationToken)
UserStore<TUser, TRole, TContext, Guid, IdentityUserClaim<Guid>, IdentityUserRole<Guid>, TUserLogin, IdentityUserToken<Guid>, IdentityRoleClaim<Guid>>.DeleteAsync(TUser, CancellationToken)
UserStore<TUser, TRole, TContext, Guid, IdentityUserClaim<Guid>, IdentityUserRole<Guid>, TUserLogin, IdentityUserToken<Guid>, IdentityRoleClaim<Guid>>.FindByIdAsync(String, CancellationToken)
Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser, TRole, TContext, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.FindByNameAsync(System.String, System.Threading.CancellationToken)
UserStore<TUser, TRole, TContext, Guid, IdentityUserClaim<Guid>, IdentityUserRole<Guid>, TUserLogin, IdentityUserToken<Guid>, IdentityRoleClaim<Guid>>.FindRoleAsync(String, CancellationToken)
UserStore<TUser, TRole, TContext, Guid, IdentityUserClaim<Guid>, IdentityUserRole<Guid>, TUserLogin, IdentityUserToken<Guid>, IdentityRoleClaim<Guid>>.FindUserRoleAsync(Guid, Guid, CancellationToken)
Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser, TRole, TContext, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.FindUserAsync(System.Guid, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser, TRole, TContext, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.FindUserLoginAsync(System.Guid, System.String, System.String, System.Threading.CancellationToken)
UserStore<TUser, TRole, TContext, Guid, IdentityUserClaim<Guid>, IdentityUserRole<Guid>, TUserLogin, IdentityUserToken<Guid>, IdentityRoleClaim<Guid>>.FindUserLoginAsync(String, String, CancellationToken)
Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser, TRole, TContext, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.AddToRoleAsync(TUser, System.String, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser, TRole, TContext, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.RemoveFromRoleAsync(TUser, System.String, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser, TRole, TContext, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.GetRolesAsync(TUser, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser, TRole, TContext, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.IsInRoleAsync(TUser, System.String, System.Threading.CancellationToken)
UserStore<TUser, TRole, TContext, Guid, IdentityUserClaim<Guid>, IdentityUserRole<Guid>, TUserLogin, IdentityUserToken<Guid>, IdentityRoleClaim<Guid>>.GetClaimsAsync(TUser, CancellationToken)
UserStore<TUser, TRole, TContext, Guid, IdentityUserClaim<Guid>, IdentityUserRole<Guid>, TUserLogin, IdentityUserToken<Guid>, IdentityRoleClaim<Guid>>.AddClaimsAsync(TUser, IEnumerable<Claim>, CancellationToken)
Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser, TRole, TContext, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.ReplaceClaimAsync(TUser, System.Security.Claims.Claim, System.Security.Claims.Claim, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser, TRole, TContext, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.RemoveClaimsAsync(TUser, System.Collections.Generic.IEnumerable<System.Security.Claims.Claim>, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser, TRole, TContext, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.AddLoginAsync(TUser, Microsoft.AspNetCore.Identity.UserLoginInfo, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser, TRole, TContext, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.RemoveLoginAsync(TUser, System.String, System.String, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser, TRole, TContext, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.GetLoginsAsync(TUser, System.Threading.CancellationToken)
UserStore<TUser, TRole, TContext, Guid, IdentityUserClaim<Guid>, IdentityUserRole<Guid>, TUserLogin, IdentityUserToken<Guid>, IdentityRoleClaim<Guid>>.FindByLoginAsync(String, String, CancellationToken)
Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser, TRole, TContext, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.FindByEmailAsync(System.String, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser, TRole, TContext, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.GetUsersForClaimAsync(System.Security.Claims.Claim, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser, TRole, TContext, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.GetUsersInRoleAsync(System.String, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser, TRole, TContext, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.FindTokenAsync(TUser, System.String, System.String, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser, TRole, TContext, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.AddUserTokenAsync(Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>)
Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser, TRole, TContext, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.RemoveUserTokenAsync(Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>)
Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser, TRole, TContext, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.Context
UserStore<TUser, TRole, TContext, Guid, IdentityUserClaim<Guid>, IdentityUserRole<Guid>, TUserLogin, IdentityUserToken<Guid>, IdentityRoleClaim<Guid>>.AutoSaveChanges
Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser, TRole, TContext, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.Users
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, TRole, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.CreateUserRole(TUser, TRole)
UserStoreBase<TUser, TRole, Guid, IdentityUserClaim<Guid>, IdentityUserRole<Guid>, TUserLogin, IdentityUserToken<Guid>, IdentityRoleClaim<Guid>>.GetUsersInRoleAsync(String, CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, TRole, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.AddToRoleAsync(TUser, System.String, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, TRole, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.RemoveFromRoleAsync(TUser, System.String, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, TRole, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.GetRolesAsync(TUser, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, TRole, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.IsInRoleAsync(TUser, System.String, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, TRole, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.FindRoleAsync(System.String, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, TRole, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.FindUserRoleAsync(System.Guid, System.Guid, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.CreateUserClaim(TUser, System.Security.Claims.Claim)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.CreateUserLogin(TUser, Microsoft.AspNetCore.Identity.UserLoginInfo)
UserStoreBase<TUser, Guid, IdentityUserClaim<Guid>, TUserLogin, IdentityUserToken<Guid>>.CreateUserToken(TUser, String, String, String)
UserStoreBase<TUser, Guid, IdentityUserClaim<Guid>, TUserLogin, IdentityUserToken<Guid>>.GetUserIdAsync(TUser, CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.GetUserNameAsync(TUser, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.SetUserNameAsync(TUser, System.String, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.GetNormalizedUserNameAsync(TUser, System.Threading.CancellationToken)
UserStoreBase<TUser, Guid, IdentityUserClaim<Guid>, TUserLogin, IdentityUserToken<Guid>>.SetNormalizedUserNameAsync(TUser, String, CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.CreateAsync(TUser, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.UpdateAsync(TUser, System.Threading.CancellationToken)
UserStoreBase<TUser, Guid, IdentityUserClaim<Guid>, TUserLogin, IdentityUserToken<Guid>>.DeleteAsync(TUser, CancellationToken)
UserStoreBase<TUser, Guid, IdentityUserClaim<Guid>, TUserLogin, IdentityUserToken<Guid>>.FindByIdAsync(String, CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.ConvertIdFromString(System.String)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.ConvertIdToString(System.Guid)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.FindByNameAsync(System.String, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.SetPasswordHashAsync(TUser, System.String, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.GetPasswordHashAsync(TUser, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.HasPasswordAsync(TUser, System.Threading.CancellationToken)
UserStoreBase<TUser, Guid, IdentityUserClaim<Guid>, TUserLogin, IdentityUserToken<Guid>>.FindUserAsync(Guid, CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.FindUserLoginAsync(System.Guid, System.String, System.String, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.FindUserLoginAsync(System.String, System.String, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.ThrowIfDisposed()
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.Dispose()
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.GetClaimsAsync(TUser, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.AddClaimsAsync(TUser, System.Collections.Generic.IEnumerable<System.Security.Claims.Claim>, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.ReplaceClaimAsync(TUser, System.Security.Claims.Claim, System.Security.Claims.Claim, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.RemoveClaimsAsync(TUser, System.Collections.Generic.IEnumerable<System.Security.Claims.Claim>, System.Threading.CancellationToken)
UserStoreBase<TUser, Guid, IdentityUserClaim<Guid>, TUserLogin, IdentityUserToken<Guid>>.AddLoginAsync(TUser, UserLoginInfo, CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.RemoveLoginAsync(TUser, System.String, System.String, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.GetLoginsAsync(TUser, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.FindByLoginAsync(System.String, System.String, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.GetEmailConfirmedAsync(TUser, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.SetEmailConfirmedAsync(TUser, System.Boolean, System.Threading.CancellationToken)
UserStoreBase<TUser, Guid, IdentityUserClaim<Guid>, TUserLogin, IdentityUserToken<Guid>>.SetEmailAsync(TUser, String, CancellationToken)
UserStoreBase<TUser, Guid, IdentityUserClaim<Guid>, TUserLogin, IdentityUserToken<Guid>>.GetEmailAsync(TUser, CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.GetNormalizedEmailAsync(TUser, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.SetNormalizedEmailAsync(TUser, System.String, System.Threading.CancellationToken)
UserStoreBase<TUser, Guid, IdentityUserClaim<Guid>, TUserLogin, IdentityUserToken<Guid>>.FindByEmailAsync(String, CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.GetLockoutEndDateAsync(TUser, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.SetLockoutEndDateAsync(TUser, System.Nullable<System.DateTimeOffset>, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.IncrementAccessFailedCountAsync(TUser, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.ResetAccessFailedCountAsync(TUser, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.GetAccessFailedCountAsync(TUser, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.GetLockoutEnabledAsync(TUser, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.SetLockoutEnabledAsync(TUser, System.Boolean, System.Threading.CancellationToken)
UserStoreBase<TUser, Guid, IdentityUserClaim<Guid>, TUserLogin, IdentityUserToken<Guid>>.SetPhoneNumberAsync(TUser, String, CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.GetPhoneNumberAsync(TUser, System.Threading.CancellationToken)
UserStoreBase<TUser, Guid, IdentityUserClaim<Guid>, TUserLogin, IdentityUserToken<Guid>>.GetPhoneNumberConfirmedAsync(TUser, CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.SetPhoneNumberConfirmedAsync(TUser, System.Boolean, System.Threading.CancellationToken)
UserStoreBase<TUser, Guid, IdentityUserClaim<Guid>, TUserLogin, IdentityUserToken<Guid>>.SetSecurityStampAsync(TUser, String, CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.GetSecurityStampAsync(TUser, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.SetTwoFactorEnabledAsync(TUser, System.Boolean, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.GetTwoFactorEnabledAsync(TUser, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.GetUsersForClaimAsync(System.Security.Claims.Claim, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.FindTokenAsync(TUser, System.String, System.String, System.Threading.CancellationToken)
UserStoreBase<TUser, Guid, IdentityUserClaim<Guid>, TUserLogin, IdentityUserToken<Guid>>.AddUserTokenAsync(IdentityUserToken<Guid>)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.RemoveUserTokenAsync(Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.SetTokenAsync(TUser, System.String, System.String, System.String, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.RemoveTokenAsync(TUser, System.String, System.String, System.Threading.CancellationToken)
UserStoreBase<TUser, Guid, IdentityUserClaim<Guid>, TUserLogin, IdentityUserToken<Guid>>.GetTokenAsync(TUser, String, String, CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.SetAuthenticatorKeyAsync(TUser, System.String, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.GetAuthenticatorKeyAsync(TUser, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.CountCodesAsync(TUser, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.ReplaceCodesAsync(TUser, System.Collections.Generic.IEnumerable<System.String>, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.RedeemCodeAsync(TUser, System.String, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.ErrorDescriber
UserStoreBase<TUser, Guid, IdentityUserClaim<Guid>, TUserLogin, IdentityUserToken<Guid>>.Users
Object.Equals(Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: IRM.AspNetCore.Identity.EntityFrameworkCore
Assembly: IRM.AspNetCore.Identity.EntityFrameworkCore.dll
Syntax
public class UserStore<TUser, TRole, TUserLogin, TContext> : UserStore<TUser, TRole, TContext, Guid, IdentityUserClaim<Guid>, IdentityUserRole<Guid>, TUserLogin, IdentityUserToken<Guid>, IdentityRoleClaim<Guid>>, IUserLoginStore<TUser>, IUserClaimStore<TUser>, IUserPasswordStore<TUser>, IUserSecurityStampStore<TUser>, IUserEmailStore<TUser>, IUserLockoutStore<TUser>, IUserPhoneNumberStore<TUser>, IQueryableUserStore<TUser>, IUserTwoFactorStore<TUser>, IUserAuthenticationTokenStore<TUser>, IUserAuthenticatorKeyStore<TUser>, IUserTwoFactorRecoveryCodeStore<TUser>, IUserRoleStore<TUser>, IProtectedUserStore<TUser>, IUserStore<TUser>, IUserStore<TUser>, IUserStore<TUser>, IDisposable, IEventStore, IPermissionStore where TUser : IdentityUser, new()
    where TRole : IdentityRole, new()
    where TUserLogin : IdentityUserLogin<Guid>, new()
    where TContext : DbContext
Type Parameters
TUser

The type representing a user.

TRole

The type representing a role.

TUserLogin

The type representing a user external login.

TContext

The type of the data context class used to access the store.

Constructors

UserStore(TContext, ILogger<UserStore<TUser, TRole, TUserLogin, TContext>>, IAsyncEventSourceRepository, IdentityErrorDescriber)

Creates a new instance of UserStore<TUser, TRole, TUserLogin, TContext>.

Declaration
public UserStore(TContext context, ILogger<UserStore<TUser, TRole, TUserLogin, TContext>> logger, IAsyncEventSourceRepository eventSourceRepository = null, IdentityErrorDescriber describer = null)
Parameters
TContext context

The context used to access the store.

Microsoft.Extensions.Logging.ILogger<UserStore<TUser, TRole, TUserLogin, TContext>> logger

The logger used to log messages, warnings and errors.

IAsyncEventSourceRepository eventSourceRepository

The IAsyncEventSourceRepository used to handle events.

Microsoft.AspNetCore.Identity.IdentityErrorDescriber describer

The Microsoft.AspNetCore.Identity.IdentityErrorDescriber used to describe store errors.

Properties

EventSourceRepository

Gets the IAsyncEventSourceRepository used to handle events.

Declaration
protected IAsyncEventSourceRepository EventSourceRepository { get; }
Property Value
IAsyncEventSourceRepository

Logger

Gets the logger used to log messages, warnings and errors.

Declaration
protected ILogger Logger { get; }
Property Value
Microsoft.Extensions.Logging.ILogger

Methods

ConvertIdFromString(String)

Declaration
public override Guid ConvertIdFromString(string id)
Parameters
String id

Returns
System.Guid

Overrides
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.ConvertIdFromString(System.String)

CreateAsync(TUser, CancellationToken)

Declaration
public override async Task<IdentityResult> CreateAsync(TUser user, CancellationToken cancellationToken = default(CancellationToken))
Parameters
TUser user

System.Threading.CancellationToken cancellationToken

Returns
System.Threading.Tasks.Task<IdentityResult>

Overrides
Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser, TRole, TContext, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.CreateAsync(TUser, System.Threading.CancellationToken)
Implements
Microsoft.AspNetCore.Identity.IUserStore<TUser>.CreateAsync(TUser, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.IUserStore<TUser>.CreateAsync(TUser, System.Threading.CancellationToken)

CreateUserClaim(TUser, Claim)

Declaration
protected override IdentityUserClaim<Guid> CreateUserClaim(TUser user, Claim claim)
Parameters
TUser user

System.Security.Claims.Claim claim

Returns
Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>

Overrides
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.CreateUserClaim(TUser, System.Security.Claims.Claim)

CreateUserLogin(TUser, UserLoginInfo)

Declaration
protected override TUserLogin CreateUserLogin(TUser user, UserLoginInfo login)
Parameters
TUser user

Microsoft.AspNetCore.Identity.UserLoginInfo login

Returns
TUserLogin

Overrides
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.CreateUserLogin(TUser, Microsoft.AspNetCore.Identity.UserLoginInfo)

CreateUserRole(TUser, TRole)

Declaration
protected override IdentityUserRole<Guid> CreateUserRole(TUser user, TRole role)
Parameters
TUser user

TRole role

Returns
Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>

Overrides
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, TRole, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.CreateUserRole(TUser, TRole)

CreateUserToken(TUser, String, String, String)

Declaration
protected override IdentityUserToken<Guid> CreateUserToken(TUser user, string loginProvider, string name, string value)
Parameters
TUser user

String loginProvider

String name

String value

Returns
Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>

Overrides
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.CreateUserToken(TUser, System.String, System.String, System.String)

DeleteAsync(TUser, CancellationToken)

Declaration
public override async Task<IdentityResult> DeleteAsync(TUser user, CancellationToken cancellationToken = default(CancellationToken))
Parameters
TUser user

System.Threading.CancellationToken cancellationToken

Returns
System.Threading.Tasks.Task<IdentityResult>

Overrides
Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser, TRole, TContext, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.DeleteAsync(TUser, System.Threading.CancellationToken)
Implements
Microsoft.AspNetCore.Identity.IUserStore<TUser>.DeleteAsync(TUser, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.IUserStore<TUser>.DeleteAsync(TUser, System.Threading.CancellationToken)

FindByEmailAsync(String, CancellationToken)

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

Declaration
public override Task<TUser> FindByEmailAsync(string normalizedEmail, CancellationToken cancellationToken = default(CancellationToken))
Parameters
String normalizedEmail

The normalized email address to return the user for.

System.Threading.CancellationToken cancellationToken

The System.Threading.CancellationToken used to propagate notifications that the operation should be canceled.

Returns
System.Threading.Tasks.Task<TUser>

The task object containing the results of the asynchronous lookup operation, the user if any associated with the specified normalized email address.

Overrides
Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser, TRole, TContext, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.FindByEmailAsync(System.String, System.Threading.CancellationToken)

FindByIdAsync(String, CancellationToken)

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

Declaration
public override Task<TUser> FindByIdAsync(string userId, CancellationToken cancellationToken = default(CancellationToken))
Parameters
String userId

The user ID to search for.

System.Threading.CancellationToken cancellationToken

The System.Threading.CancellationToken used to propagate notifications that the operation should be canceled.

Returns
System.Threading.Tasks.Task<TUser>

The System.Threading.Tasks.Task that represents the asynchronous operation, containing the user matching the specified userId if it exists.

Overrides
Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser, TRole, TContext, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.FindByIdAsync(System.String, System.Threading.CancellationToken)
Implements
Microsoft.AspNetCore.Identity.IUserStore<TUser>.FindByIdAsync(System.String, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.IUserStore<TUser>.FindByIdAsync(System.String, System.Threading.CancellationToken)

FindByLoginAsync(String, String, CancellationToken)

Retrieves the user associated with the specified login provider and login provider key..

Declaration
public override async Task<TUser> FindByLoginAsync(string loginProvider, string providerKey, CancellationToken cancellationToken = default(CancellationToken))
Parameters
String loginProvider

The login provider who provided the providerKey.

String providerKey

The key provided by the loginProvider to identify a user.

System.Threading.CancellationToken cancellationToken

The System.Threading.CancellationToken used to propagate notifications that the operation should be canceled.

Returns
System.Threading.Tasks.Task<TUser>

The System.Threading.Tasks.Task for the asynchronous operation, containing the user, if any which matched the specified login provider and key.

Overrides
Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser, TRole, TContext, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.FindByLoginAsync(System.String, System.String, System.Threading.CancellationToken)

FindByNameAsync(String, CancellationToken)

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

Declaration
public override Task<TUser> FindByNameAsync(string normalizedUserName, CancellationToken cancellationToken = default(CancellationToken))
Parameters
String normalizedUserName

The normalized user name to search for.

System.Threading.CancellationToken cancellationToken

The System.Threading.CancellationToken used to propagate notifications that the operation should be canceled.

Returns
System.Threading.Tasks.Task<TUser>

The System.Threading.Tasks.Task that represents the asynchronous operation, containing the user matching the specified normalizedUserName if it exists.

Overrides
Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser, TRole, TContext, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.FindByNameAsync(System.String, System.Threading.CancellationToken)
Implements
IUserStore<TUser>.FindByNameAsync(String, CancellationToken)
IUserStore<TUser>.FindByNameAsync(String, CancellationToken)

GetDefaultRolesForNewUserAsync(TUser, CancellationToken)

Gets all default roles that should be added to new users.

Declaration
protected virtual Task<List<TRole>> GetDefaultRolesForNewUserAsync(TUser user, CancellationToken cancellationToken = default(CancellationToken))
Parameters
TUser user

System.Threading.CancellationToken cancellationToken

The System.Threading.CancellationToken used to propagate notifications that the operation should be canceled.

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

The System.Threading.Tasks.Task for the asynchronous operation, containing the list of default roles, if any, that should be added to new users.

GetLoginsAsync(TUser, CancellationToken)

Declaration
public override Task<IList<UserLoginInfo>> GetLoginsAsync(TUser user, CancellationToken cancellationToken = default(CancellationToken))
Parameters
TUser user

System.Threading.CancellationToken cancellationToken

Returns
System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.AspNetCore.Identity.UserLoginInfo>>

Overrides
Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser, TRole, TContext, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.GetLoginsAsync(TUser, System.Threading.CancellationToken)

GetSystemUsersAsync(CancellationToken)

Gets all users that represents systems.

Declaration
public virtual 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.

Implements
IUserStore<TUser>.GetSystemUsersAsync(CancellationToken)

GetUser(Guid, CancellationToken)

Gets a user with default includes for this store implementation.

Declaration
protected virtual Task<TUser> GetUser(Guid id, CancellationToken cancellationToken = default(CancellationToken))
Parameters
System.Guid id

The identity of the user to get.

System.Threading.CancellationToken cancellationToken

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

Returns
System.Threading.Tasks.Task<TUser>

A task that represents the asynchronous operation.

GetUser(Expression<Func<TUser, Boolean>>, CancellationToken)

Gets a user with default includes for this store implementation.

Declaration
protected virtual Task<TUser> GetUser(Expression<Func<TUser, bool>> predicate, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Expression<System.Func<TUser, Boolean>> predicate

A function to test each element for a condition.

System.Threading.CancellationToken cancellationToken

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

Returns
System.Threading.Tasks.Task<TUser>

A task that represents the asynchronous operation.

RemoveAuthenticatorKey(TUser, CancellationToken)

Removes the shared key used with an authenticator app.

Declaration
public virtual 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.

Implements
IUserStore<TUser>.RemoveAuthenticatorKey(TUser, CancellationToken)

RemoveFromRoleAsync(TUser, String, CancellationToken)

Declaration
public override async Task RemoveFromRoleAsync(TUser user, string normalizedRoleName, CancellationToken cancellationToken = default(CancellationToken))
Parameters
TUser user

String normalizedRoleName

System.Threading.CancellationToken cancellationToken

Returns
System.Threading.Tasks.Task

Overrides
Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser, TRole, TContext, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.RemoveFromRoleAsync(TUser, System.String, System.Threading.CancellationToken)

SaveEvents(IEventSourced, CancellationToken)

Saves all registered events in aggregate.

Declaration
public virtual async Task<IdentityResult> SaveEvents(IEventSourced user, CancellationToken cancellationToken = default(CancellationToken))
Parameters
IEventSourced user

System.Threading.CancellationToken cancellationToken

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

Returns
System.Threading.Tasks.Task<IdentityResult>

The System.Threading.Tasks.Task that represents the asynchronous operation, containing the IdentityResult for the operation.

Implements
IEventStore.SaveEvents(IEventSourced, CancellationToken)

SetEmailConfirmedAsync(TUser, Boolean, CancellationToken)

Declaration
public override Task SetEmailConfirmedAsync(TUser user, bool confirmed, CancellationToken cancellationToken = default(CancellationToken))
Parameters
TUser user

Boolean confirmed

System.Threading.CancellationToken cancellationToken

Returns
System.Threading.Tasks.Task

Overrides
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.SetEmailConfirmedAsync(TUser, System.Boolean, System.Threading.CancellationToken)

SetPasswordHashAsync(TUser, String, CancellationToken)

Declaration
public override Task SetPasswordHashAsync(TUser user, string passwordHash, CancellationToken cancellationToken = default(CancellationToken))
Parameters
TUser user

String passwordHash

System.Threading.CancellationToken cancellationToken

Returns
System.Threading.Tasks.Task

Overrides
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.SetPasswordHashAsync(TUser, System.String, System.Threading.CancellationToken)

SetPhoneNumberConfirmedAsync(TUser, Boolean, CancellationToken)

Declaration
public override Task SetPhoneNumberConfirmedAsync(TUser user, bool confirmed, CancellationToken cancellationToken = default(CancellationToken))
Parameters
TUser user

Boolean confirmed

System.Threading.CancellationToken cancellationToken

Returns
System.Threading.Tasks.Task

Overrides
Microsoft.AspNetCore.Identity.UserStoreBase<TUser, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>>.SetPhoneNumberConfirmedAsync(TUser, System.Boolean, System.Threading.CancellationToken)

UpdateAsync(TUser, CancellationToken)

Declaration
public override async Task<IdentityResult> UpdateAsync(TUser user, CancellationToken cancellationToken = default(CancellationToken))
Parameters
TUser user

System.Threading.CancellationToken cancellationToken

Returns
System.Threading.Tasks.Task<IdentityResult>

Overrides
Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<TUser, TRole, TContext, System.Guid, Microsoft.AspNetCore.Identity.IdentityUserClaim<System.Guid>, Microsoft.AspNetCore.Identity.IdentityUserRole<System.Guid>, TUserLogin, Microsoft.AspNetCore.Identity.IdentityUserToken<System.Guid>, Microsoft.AspNetCore.Identity.IdentityRoleClaim<System.Guid>>.UpdateAsync(TUser, System.Threading.CancellationToken)
Implements
Microsoft.AspNetCore.Identity.IUserStore<TUser>.UpdateAsync(TUser, System.Threading.CancellationToken)
Microsoft.AspNetCore.Identity.IUserStore<TUser>.UpdateAsync(TUser, System.Threading.CancellationToken)

Explicit Interface Implementations

IPermissionStore.GetRemovePermissionSql(String[], Guid[])

Declaration
string IPermissionStore.GetRemovePermissionSql(string[] permissions, params Guid[] tenantIds)
Parameters
String[] permissions

System.Guid[] tenantIds

Returns
String

Implements
IPermissionStore.GetRemovePermissionSql(String[], Guid[])
Back to top Generated by DocFX