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)
1507IdentityResultAssert.IsSuccess(await manager.ChangeEmailAsync(user, newEmail, token1)); 1530IdentityResultAssert.IsSuccess(await manager.ChangeEmailAsync(user, newEmail, token1)); 1534IdentityResultAssert.IsFailure(await manager.ChangeEmailAsync(user, "should@fail.com", token2)); 1556IdentityResultAssert.IsSuccess(await manager.ChangeEmailAsync(user, newEmail, token1)); 1580IdentityResultAssert.IsFailure(await manager.ChangeEmailAsync(user, newEmail, token1)); 1600IdentityResultAssert.IsFailure(await manager.ChangeEmailAsync(user, "whatevah@foo.boop", "bogus"), 1624IdentityResultAssert.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);