21 references to ApplicationUser
Identity.DefaultUI.WebSite (2)
ApplicationUserStartup.cs (1)
8
public class ApplicationUserStartup : StartupBase<
ApplicationUser
, ApplicationDbContext>
Data\ApplicationDbContext.cs (1)
9
public class ApplicationDbContext : IdentityDbContext<
ApplicationUser
>
Microsoft.AspNetCore.Identity.FunctionalTests (19)
MapIdentityApiTests.cs (19)
170
services.AddIdentityCore<
ApplicationUser
>().AddApiEndpoints().AddEntityFrameworkStores<ApplicationDbContext>();
245
services.AddIdentityCore<
ApplicationUser
>().AddApiEndpoints().AddEntityFrameworkStores<ApplicationDbContext>();
330
services.AddIdentityCore<
ApplicationUser
>().AddApiEndpoints().AddEntityFrameworkStores<ApplicationDbContext>();
386
var userManager = app.Services.GetRequiredService<UserManager<
ApplicationUser
>>();
387
var
user = await userManager.FindByNameAsync(Email);
405
var userManager = app.Services.GetRequiredService<UserManager<
ApplicationUser
>>();
406
var
user = await userManager.FindByNameAsync(Email);
574
services.AddSingleton<IEmailSender<
ApplicationUser
>>(customEmailSender);
592
await using var app = await CreateAppAsync<
ApplicationUser
, ApplicationDbContext>(services =>
602
app.MapGroup("/identity2").MapIdentityApi<
ApplicationUser
>();
625
await using var app = await CreateAppAsync<
ApplicationUser
, ApplicationDbContext>(services =>
627
AddIdentityApiEndpoints<
ApplicationUser
, ApplicationDbContext>(services);
1329
=> AddIdentityApiEndpoints<
ApplicationUser
, ApplicationDbContext>(services);
1339
.AddIdentityCore<
ApplicationUser
>()
1345
=> CreateAppAsync<
ApplicationUser
, ApplicationDbContext>(configureServices);
1521
private sealed class TestCustomEmailSender(IEmailSender emailSender) : IEmailSender<
ApplicationUser
>
1526
public Task SendConfirmationLinkAsync(
ApplicationUser
user, string email, string confirmationLink)
1533
public Task SendPasswordResetCodeAsync(
ApplicationUser
user, string email, string resetCode) =>
1536
public Task SendPasswordResetLinkAsync(
ApplicationUser
user, string email, string resetLink) =>