7 implementations of FindByEmailAsync
Identity.DefaultUI.WebSite (1)
src\Identity\test\InMemory.Test\InMemoryUserStore.cs (1)
107public Task<TUser> FindByEmailAsync(string email, CancellationToken cancellationToken = default(CancellationToken))
Microsoft.AspNetCore.Identity.EntityFrameworkCore (2)
UserOnlyStore.cs (2)
450public override Task<TUser?> FindByEmailAsyncFindByEmailAsync(string normalizedEmail, CancellationToken cancellationToken = default(CancellationToken))
Microsoft.AspNetCore.Identity.InMemory.Test (1)
InMemoryUserStore.cs (1)
107public Task<TUser> FindByEmailAsync(string email, CancellationToken cancellationToken = default(CancellationToken))
Microsoft.AspNetCore.Identity.Test (2)
UserManagerTest.cs (2)
1258public Task<PocoUser> FindByEmailAsync(string email, CancellationToken cancellationToken = default(CancellationToken)) 1538public Task<PocoUser> FindByEmailAsync(string email, CancellationToken cancellationToken = default(CancellationToken))
Microsoft.Extensions.Identity.Stores (1)
UserStoreBase.cs (1)
543public abstract Task<TUser?> FindByEmailAsync(string normalizedEmail, CancellationToken cancellationToken = default(CancellationToken));
6 references to FindByEmailAsync
Microsoft.AspNetCore.Identity.Test (4)
UserManagerTest.cs (4)
263store.Setup(s => s.FindByEmailAsync(normalizer.NormalizeEmail(user.Email), CancellationToken.None)).Returns(Task.FromResult(user)).Verifiable(); 280store.Setup(s => s.FindByEmailAsync(user.Email, CancellationToken.None)).Returns(Task.FromResult(user)).Verifiable(); 304store.Setup(s => s.FindByEmailAsync("@Foo", CancellationToken.None)).Returns(Task.FromResult(user)).Verifiable(); 1759store.Setup(s => s.FindByEmailAsync("DUPE@EMAIL.COM", CancellationToken.None))
Microsoft.Extensions.Identity.Core (2)
UserManager.cs (2)
1293var user = await store.FindByEmailAsync(email, CancellationToken).ConfigureAwait(false); 1305user = await store.FindByEmailAsync(oldKey, CancellationToken).ConfigureAwait(false);