7 references to ChangePhoneNumberAsync
IdentitySample.Mvc (1)
Controllers\ManageController.cs (1)
193
var result = await _userManager.
ChangePhoneNumberAsync
(user, model.PhoneNumber, model.Code);
Microsoft.AspNetCore.Identity.Specification.Tests (5)
UserManagerSpecificationTests.cs (5)
1373
IdentityResultAssert.IsSuccess(await manager.
ChangePhoneNumberAsync
(user, "111-111-1111", token1));
1405
IdentityResultAssert.IsFailure(await manager.
ChangePhoneNumberAsync
(user, "111-111-1111", "bogus"),
1439
IdentityResultAssert.IsSuccess(await manager.
ChangePhoneNumberAsync
(user, "111-111-1111", "whatever"));
1458
IdentityResultAssert.IsFailure(await manager.
ChangePhoneNumberAsync
(user, "bogus", token1),
1814
IdentityResultAssert.IsSuccess(await manager.
ChangePhoneNumberAsync
(user, "111-111-1111", token));
Microsoft.AspNetCore.Identity.Test (1)
UserManagerTest.cs (1)
1109
async () => await manager.
ChangePhoneNumberAsync
(null, null, null));