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