11 references to SetPhoneNumberAsync
Identity.ExternalClaims (1)
Pages\Account\Manage\Index.cshtml.cs (1)
100var setPhoneResult = await _userManager.SetPhoneNumberAsync(user, Input.PhoneNumber);
IdentitySample.DefaultUI (1)
Areas\Identity\Pages\Account\Manage\Index.cshtml.cs (1)
100var setPhoneResult = await _userManager.SetPhoneNumberAsync(user, Input.PhoneNumber);
IdentitySample.Mvc (1)
Controllers\ManageController.cs (1)
214var result = await _userManager.SetPhoneNumberAsync(user, null);
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (1)
UserStoreEncryptPersonalDataTest.cs (1)
80IdentityResultAssert.IsSuccess(await manager.SetPhoneNumberAsync(user, "123-456-7890"));
Microsoft.AspNetCore.Identity.Specification.Tests (2)
UserManagerSpecificationTests.cs (2)
1355IdentityResultAssert.IsSuccess(await manager.SetPhoneNumberAsync(user, "111-111-1111")); 1812IdentityResultAssert.IsSuccess(await manager.SetPhoneNumberAsync(user, "111-111-1111"));
Microsoft.AspNetCore.Identity.Test (3)
UserManagerTest.cs (3)
703await Assert.ThrowsAsync<NotSupportedException>(async () => await manager.SetPhoneNumberAsync(null, null)); 704await Assert.ThrowsAsync<NotSupportedException>(async () => await manager.SetPhoneNumberAsync(null, null)); 1115async () => await manager.SetPhoneNumberAsync(null, null));
Microsoft.AspNetCore.Identity.UI (2)
Areas\Identity\Pages\V4\Account\Manage\Index.cshtml.cs (1)
120var setPhoneResult = await _userManager.SetPhoneNumberAsync(user, Input.PhoneNumber);
Areas\Identity\Pages\V5\Account\Manage\Index.cshtml.cs (1)
120var setPhoneResult = await _userManager.SetPhoneNumberAsync(user, Input.PhoneNumber);