9 references to GenerateChangePhoneNumberTokenAsync
IdentitySample.Mvc (2)
Controllers\ManageController.cs (2)
102var code = await _userManager.GenerateChangePhoneNumberTokenAsync(user, model.PhoneNumber); 175var code = await _userManager.GenerateChangePhoneNumberTokenAsync(await GetCurrentUserAsync(), phoneNumber);
Microsoft.AspNetCore.Identity.Specification.Tests (6)
UserManagerSpecificationTests.cs (6)
1372var token1 = await manager.GenerateChangePhoneNumberTokenAsync(user, "111-111-1111"); 1389var token1 = await manager.GenerateChangePhoneNumberTokenAsync(user, "111-111-1111"); 1457var token1 = await manager.GenerateChangePhoneNumberTokenAsync(user, "111-111-1111"); 1478var token1 = await manager.GenerateChangePhoneNumberTokenAsync(user, num1); 1480var token2 = await manager.GenerateChangePhoneNumberTokenAsync(user, num2); 1813var token = await manager.GenerateChangePhoneNumberTokenAsync(user, "111-111-1111");
Microsoft.AspNetCore.Identity.Test (1)
UserManagerTest.cs (1)
744() => manager.GenerateChangePhoneNumberTokenAsync(new PocoUser(), "111-111-1111"));