19 references to UpdateAsync
IdentitySample.DefaultUI (1)
Areas\Identity\Pages\Account\Manage\Index.cshtml.cs (1)
92var updateProfileResult = await _userManager.UpdateAsync(user);
IdentitySample.PasskeyConformance (1)
Program.cs (1)
109var updateResult = await userManager.UpdateAsync(user).ConfigureAwait(false);
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (7)
UserStoreEncryptPersonalDataTest.cs (2)
88IdentityResultAssert.IsSuccess(await manager.UpdateAsync(user)); 213IdentityResultAssert.IsSuccess(await manager.UpdateAsync(user));
UserStoreTest.cs (5)
235IdentityResultAssert.IsSuccess(await manager1.UpdateAsync(user1)); 236IdentityResultAssert.IsFailure(await manager2.UpdateAsync(user2), new IdentityErrorDescriber().ConcurrencyFailure()); 264IdentityResultAssert.IsSuccess(await manager1.UpdateAsync(user)); 265IdentityResultAssert.IsFailure(await manager2.UpdateAsync(user2), new IdentityErrorDescriber().ConcurrencyFailure()); 294IdentityResultAssert.IsSuccess(await manager1.UpdateAsync(user1));
Microsoft.AspNetCore.Identity.FunctionalTests (1)
MapIdentityApiTests.cs (1)
412await userManager.UpdateAsync(user);
Microsoft.AspNetCore.Identity.Specification.Tests (4)
UserManagerSpecificationTests.cs (4)
227IdentityResultAssert.IsSuccess(await manager.UpdateAsync(user)); 330IdentityResultAssert.IsSuccess(await manager.UpdateAsync(user)); 376IdentityResultAssert.IsFailure(await manager.UpdateAsync(user), AlwaysBadValidator.ErrorMessage); 1815await manager.UpdateAsync(user);
Microsoft.AspNetCore.Identity.Test (5)
UserManagerTest.cs (5)
194var result = await userManager.UpdateAsync(user); 216var result = await userManager.UpdateAsync(user); 712var ex = await Assert.ThrowsAsync<InvalidOperationException>(() => manager.UpdateAsync(user)); 1359await Assert.ThrowsAsync<ArgumentNullException>("user", async () => await manager.UpdateAsync(null)); 1516await Assert.ThrowsAsync<ObjectDisposedException>(() => manager.UpdateAsync(null));