10 references to ChangeEmailAsync
Microsoft.AspNetCore.Identity (1)
IdentityApiEndpointRouteBuilderExtensions.cs (1)
171result = await userManager.ChangeEmailAsync(user, changedEmail, code);
Microsoft.AspNetCore.Identity.Specification.Tests (7)
UserManagerSpecificationTests.cs (7)
1506IdentityResultAssert.IsSuccess(await manager.ChangeEmailAsync(user, newEmail, token1)); 1529IdentityResultAssert.IsSuccess(await manager.ChangeEmailAsync(user, newEmail, token1)); 1533IdentityResultAssert.IsFailure(await manager.ChangeEmailAsync(user, "should@fail.com", token2)); 1555IdentityResultAssert.IsSuccess(await manager.ChangeEmailAsync(user, newEmail, token1)); 1579IdentityResultAssert.IsFailure(await manager.ChangeEmailAsync(user, newEmail, token1)); 1599IdentityResultAssert.IsFailure(await manager.ChangeEmailAsync(user, "whatevah@foo.boop", "bogus"), 1623IdentityResultAssert.IsFailure(await manager.ChangeEmailAsync(user, "oops@foo.boop", token1),
Microsoft.AspNetCore.Identity.UI (2)
Areas\Identity\Pages\V4\Account\ConfirmEmailChange.cshtml.cs (1)
59var result = await _userManager.ChangeEmailAsync(user, email, code);
Areas\Identity\Pages\V5\Account\ConfirmEmailChange.cshtml.cs (1)
59var result = await _userManager.ChangeEmailAsync(user, email, code);