12 references to IsPhoneNumberConfirmedAsync
Microsoft.AspNetCore.Identity (1)
SignInManager.cs (1)
143
if (Options.SignIn.RequireConfirmedPhoneNumber && !(await UserManager.
IsPhoneNumberConfirmedAsync
(user)))
Microsoft.AspNetCore.Identity.Specification.Tests (8)
UserManagerSpecificationTests.cs (8)
1370
Assert.False(await manager.
IsPhoneNumberConfirmedAsync
(user));
1374
Assert.True(await manager.
IsPhoneNumberConfirmedAsync
(user));
1403
Assert.False(await manager.
IsPhoneNumberConfirmedAsync
(user));
1408
Assert.False(await manager.
IsPhoneNumberConfirmedAsync
(user));
1437
Assert.False(await manager.
IsPhoneNumberConfirmedAsync
(user));
1440
Assert.True(await manager.
IsPhoneNumberConfirmedAsync
(user));
1455
Assert.False(await manager.
IsPhoneNumberConfirmedAsync
(user));
1460
Assert.False(await manager.
IsPhoneNumberConfirmedAsync
(user));
Microsoft.AspNetCore.Identity.Test (2)
SignInManagerTest.cs (1)
994
manager.Setup(m => m.
IsPhoneNumberConfirmedAsync
(user)).ReturnsAsync(confirmed).Verifiable();
UserManagerTest.cs (1)
1107
async () => await manager.
IsPhoneNumberConfirmedAsync
(null));
Microsoft.Extensions.Identity.Core (1)
PhoneNumberTokenProvider.cs (1)
36
return !string.IsNullOrWhiteSpace(phoneNumber) && await manager.
IsPhoneNumberConfirmedAsync
(user).ConfigureAwait(false);