28 references to FindByEmailAsync
Identity.ExternalClaims (2)
Pages\Account\ForgotPassword.cshtml.cs (1)
41
var user = await _userManager.
FindByEmailAsync
(Input.Email);
Pages\Account\ResetPassword.cshtml.cs (1)
70
var user = await _userManager.
FindByEmailAsync
(Input.Email);
IdentitySample.Mvc (2)
Controllers\AccountController.cs (2)
270
var user = await _userManager.
FindByEmailAsync
(model.Email);
319
var user = await _userManager.
FindByEmailAsync
(model.Email);
Microsoft.AspNetCore.Identity (3)
IdentityApiEndpointRouteBuilderExtensions.cs (3)
197
if (await userManager.
FindByEmailAsync
(resendRequest.Email) is not { } user)
210
var user = await userManager.
FindByEmailAsync
(resetRequest.Email);
230
var user = await userManager.
FindByEmailAsync
(resetRequest.Email);
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (6)
SqlStoreOnlyUsersTestBase.cs (1)
214
var userByEmail = await manager.
FindByEmailAsync
(user.Email);
SqlStoreTestBase.cs (1)
331
var userByEmail = await manager.
FindByEmailAsync
(user.Email);
UserOnlyTest.cs (1)
79
await Assert.ThrowsAsync<InvalidOperationException>(async () => await manager.
FindByEmailAsync
("dupe@dupe.com"));
UserStoreEncryptPersonalDataTest.cs (2)
84
Assert.Equal(user, await manager.
FindByEmailAsync
("hao@hao.com"));
93
Assert.Equal(user, await manager.
FindByEmailAsync
("hao@hao.com"));
UserStoreTest.cs (1)
194
await Assert.ThrowsAsync<InvalidOperationException>(async () => await manager.
FindByEmailAsync
("dupe@dupe.com"));
Microsoft.AspNetCore.Identity.Specification.Tests (1)
UserManagerSpecificationTests.cs (1)
922
var fetch = await manager.
FindByEmailAsync
(email);
Microsoft.AspNetCore.Identity.Test (5)
UserManagerTest.cs (5)
267
var result = await userManager.
FindByEmailAsync
(user.Email);
285
var result = await userManager.
FindByEmailAsync
(user.Email);
309
var result = await userManager.
FindByEmailAsync
(user.Email);
691
await Assert.ThrowsAsync<NotSupportedException>(() => manager.
FindByEmailAsync
(null));
1039
await Assert.ThrowsAsync<ArgumentNullException>("email", async () => await manager.
FindByEmailAsync
(null));
Microsoft.AspNetCore.Identity.UI (8)
Areas\Identity\Pages\V4\Account\ForgotPassword.cshtml.cs (1)
66
var user = await _userManager.
FindByEmailAsync
(Input.Email);
Areas\Identity\Pages\V4\Account\RegisterConfirmation.cshtml.cs (1)
64
var user = await _userManager.
FindByEmailAsync
(email);
Areas\Identity\Pages\V4\Account\ResendEmailConfirmation.cshtml.cs (1)
79
var user = await _userManager.
FindByEmailAsync
(Input.Email);
Areas\Identity\Pages\V4\Account\ResetPassword.cshtml.cs (1)
113
var user = await _userManager.
FindByEmailAsync
(Input.Email);
Areas\Identity\Pages\V5\Account\ForgotPassword.cshtml.cs (1)
66
var user = await _userManager.
FindByEmailAsync
(Input.Email);
Areas\Identity\Pages\V5\Account\RegisterConfirmation.cshtml.cs (1)
64
var user = await _userManager.
FindByEmailAsync
(email);
Areas\Identity\Pages\V5\Account\ResendEmailConfirmation.cshtml.cs (1)
79
var user = await _userManager.
FindByEmailAsync
(Input.Email);
Areas\Identity\Pages\V5\Account\ResetPassword.cshtml.cs (1)
113
var user = await _userManager.
FindByEmailAsync
(Input.Email);
Microsoft.Extensions.Identity.Core (1)
UserValidator.cs (1)
97
var owner = await manager.
FindByEmailAsync
(email).ConfigureAwait(false);