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