35 references to IsEmailConfirmedAsync
Identity.ExternalClaims (2)
Pages\Account\ForgotPassword.cshtml.cs (1)
42
if (user == null || !(await _userManager.
IsEmailConfirmedAsync
(user)))
Pages\Account\Manage\Index.cshtml.cs (1)
71
IsEmailConfirmed = await _userManager.
IsEmailConfirmedAsync
(user);
IdentitySample.Mvc (1)
Controllers\AccountController.cs (1)
271
if (user == null || !(await _userManager.
IsEmailConfirmedAsync
(user)))
Microsoft.AspNetCore.Identity (2)
IdentityApiEndpointRouteBuilderExtensions.cs (1)
463
IsEmailConfirmed = await userManager.
IsEmailConfirmedAsync
(user),
SignInManager.cs (1)
138
if (Options.SignIn.RequireConfirmedEmail && !(await UserManager.
IsEmailConfirmedAsync
(user)))
Microsoft.AspNetCore.Identity.Specification.Tests (20)
UserManagerSpecificationTests.cs (20)
956
Assert.False(await manager.
IsEmailConfirmedAsync
(user));
1094
Assert.False(await manager.
IsEmailConfirmedAsync
(user));
1100
Assert.True(await manager.
IsEmailConfirmedAsync
(user));
1102
Assert.False(await manager.
IsEmailConfirmedAsync
(user));
1116
Assert.False(await manager.
IsEmailConfirmedAsync
(user));
1119
Assert.False(await manager.
IsEmailConfirmedAsync
(user));
1132
Assert.False(await manager.
IsEmailConfirmedAsync
(user));
1139
Assert.False(await manager.
IsEmailConfirmedAsync
(user));
1502
Assert.False(await manager.
IsEmailConfirmedAsync
(user));
1507
Assert.True(await manager.
IsEmailConfirmedAsync
(user));
1524
Assert.False(await manager.
IsEmailConfirmedAsync
(user));
1530
Assert.True(await manager.
IsEmailConfirmedAsync
(user));
1551
Assert.False(await manager.
IsEmailConfirmedAsync
(user));
1556
Assert.True(await manager.
IsEmailConfirmedAsync
(user));
1573
Assert.False(await manager.
IsEmailConfirmedAsync
(user));
1580
Assert.False(await manager.
IsEmailConfirmedAsync
(user));
1597
Assert.False(await manager.
IsEmailConfirmedAsync
(user));
1602
Assert.False(await manager.
IsEmailConfirmedAsync
(user));
1620
Assert.False(await manager.
IsEmailConfirmedAsync
(user));
1626
Assert.False(await manager.
IsEmailConfirmedAsync
(user));
Microsoft.AspNetCore.Identity.Test (4)
SignInManagerTest.cs (1)
936
manager.Setup(m => m.
IsEmailConfirmedAsync
(user)).ReturnsAsync(confirmed).Verifiable();
UserManagerTest.cs (3)
694
await Assert.ThrowsAsync<NotSupportedException>(() => manager.
IsEmailConfirmedAsync
(null));
1097
async () => await manager.
IsEmailConfirmedAsync
(null));
1181
await Assert.ThrowsAsync<ObjectDisposedException>(() => manager.
IsEmailConfirmedAsync
(null));
Microsoft.AspNetCore.Identity.UI (4)
Areas\Identity\Pages\V4\Account\ForgotPassword.cshtml.cs (1)
67
if (user == null || !(await _userManager.
IsEmailConfirmedAsync
(user)))
Areas\Identity\Pages\V4\Account\Manage\Email.cshtml.cs (1)
107
IsEmailConfirmed = await _userManager.
IsEmailConfirmedAsync
(user);
Areas\Identity\Pages\V5\Account\ForgotPassword.cshtml.cs (1)
67
if (user == null || !(await _userManager.
IsEmailConfirmedAsync
(user)))
Areas\Identity\Pages\V5\Account\Manage\Email.cshtml.cs (1)
107
IsEmailConfirmed = await _userManager.
IsEmailConfirmedAsync
(user);
Microsoft.Extensions.Identity.Core (2)
DefaultUserConfirmation.cs (1)
22
return await manager.
IsEmailConfirmedAsync
(user).ConfigureAwait(false);
EmailTokenProvider.cs (1)
25
return !string.IsNullOrWhiteSpace(email) && await manager.
IsEmailConfirmedAsync
(user).ConfigureAwait(false);