2 instantiations of ApplicationUser
IdentitySample.Mvc (2)
Controllers\AccountController.cs (2)
106var user = new ApplicationUser { UserName = model.Email, Email = model.Email }; 211var user = new ApplicationUser { UserName = model.Email, Email = model.Email };
35 references to ApplicationUser
IdentitySample.Mvc (35)
Controllers\AccountController.cs (15)
18private readonly UserManager<ApplicationUser> _userManager; 19private readonly SignInManager<ApplicationUser> _signInManager; 25UserManager<ApplicationUser> userManager, 26SignInManager<ApplicationUser> signInManager, 106var user = new ApplicationUser { UserName = model.Email, Email = model.Email }; 211var user = new ApplicationUser { UserName = model.Email, Email = model.Email }; 243var user = await _userManager.FindByIdAsync(userId); 270var user = await _userManager.FindByEmailAsync(model.Email); 319var user = await _userManager.FindByEmailAsync(model.Email); 349var user = await _signInManager.GetTwoFactorAuthenticationUserAsync(); 371var user = await _signInManager.GetTwoFactorAuthenticationUserAsync(); 409var user = await _signInManager.GetTwoFactorAuthenticationUserAsync(); 456var user = await _signInManager.GetTwoFactorAuthenticationUserAsync(); 503var user = await _signInManager.GetTwoFactorAuthenticationUserAsync(); 545private Task<ApplicationUser> GetCurrentUserAsync()
Controllers\ManageController.cs (18)
16private readonly UserManager<ApplicationUser> _userManager; 17private readonly SignInManager<ApplicationUser> _signInManager; 23UserManager<ApplicationUser> userManager, 24SignInManager<ApplicationUser> signInManager, 50var user = await GetCurrentUserAsync(); 70var user = await GetCurrentUserAsync(); 101var user = await GetCurrentUserAsync(); 113var user = await GetCurrentUserAsync(); 128var user = await GetCurrentUserAsync(); 144var user = await GetCurrentUserAsync(); 160var user = await GetCurrentUserAsync(); 190var user = await GetCurrentUserAsync(); 211var user = await GetCurrentUserAsync(); 242var user = await GetCurrentUserAsync(); 277var user = await GetCurrentUserAsync(); 301var user = await GetCurrentUserAsync(); 334var user = await GetCurrentUserAsync(); 371private Task<ApplicationUser> GetCurrentUserAsync()
Models\ApplicationDbContext.cs (1)
9public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
Startup.cs (1)
37services.AddIdentityCore<ApplicationUser>()