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