1 write to Store
Microsoft.Extensions.Identity.Core (1)
39 references to Store
Microsoft.Extensions.Identity.Core (39)
UserManager.cs (39)
124if (!(Store is IProtectedUserStore<TUser>))
190return Store is IUserAuthenticationTokenStore<TUser>;
205return Store is IUserAuthenticatorKeyStore<TUser>;
220return Store is IUserTwoFactorRecoveryCodeStore<TUser>;
235return Store is IUserTwoFactorStore<TUser>;
250return Store is IUserPasswordStore<TUser>;
265return Store is IUserSecurityStampStore<TUser>;
280return Store is IUserRoleStore<TUser>;
295return Store is IUserLoginStore<TUser>;
310return Store is IUserEmailStore<TUser>;
325return Store is IUserPhoneNumberStore<TUser>;
340return Store is IUserClaimStore<TUser>;
355return Store is IUserLockoutStore<TUser>;
372return Store is IQueryableUserStore<TUser>;
383var queryableStore = Store as IQueryableUserStore<TUser>;
477return await Store.CreateAsync(user, CancellationToken).ConfigureAwait(false);
509return Store.DeleteAsync(user, CancellationToken);
522return Store.FindByIdAsync(userId, CancellationToken);
538var user = await Store.FindByNameAsync(userName, CancellationToken).ConfigureAwait(false);
550user = await Store.FindByNameAsync(oldKey, CancellationToken).ConfigureAwait(false);
624await Store.SetNormalizedUserNameAsync(user, normalizedName, CancellationToken).ConfigureAwait(false);
636return await Store.GetUserNameAsync(user, CancellationToken).ConfigureAwait(false);
650await Store.SetUserNameAsync(user, userName, CancellationToken).ConfigureAwait(false);
663return await Store.GetUserIdAsync(user, CancellationToken).ConfigureAwait(false);
2139Store.Dispose();
2146var cast = Store as IUserTwoFactorStore<TUser>;
2156var cast = Store as IUserLockoutStore<TUser>;
2166if (Store is not IUserEmailStore<TUser> emailStore)
2175return Store as IUserEmailStore<TUser>;
2180var cast = Store as IUserPhoneNumberStore<TUser>;
2236var cast = Store as IUserRoleStore<TUser>;
2258var cast = Store as IUserLoginStore<TUser>;
2268var cast = Store as IUserSecurityStampStore<TUser>;
2278var cast = Store as IUserClaimStore<TUser>;
2380return await Store.UpdateAsync(user, CancellationToken).ConfigureAwait(false);
2385var cast = Store as IUserAuthenticatorKeyStore<TUser>;
2395var cast = Store as IUserTwoFactorRecoveryCodeStore<TUser>;
2405var cast = Store as IUserAuthenticationTokenStore<TUser>;
2415var cast = Store as IUserPasswordStore<TUser>;