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