1 instantiation of ApplicationUser
IdentitySample.DefaultUI (1)
Areas\Identity\Pages\Account\Register.cshtml.cs (1)
82
var user = new
ApplicationUser
18 references to ApplicationUser
IdentitySample.DefaultUI (18)
Areas\Identity\Pages\Account\Manage\Index.cshtml.cs (6)
14
private readonly UserManager<
ApplicationUser
> _userManager;
15
private readonly SignInManager<
ApplicationUser
> _signInManager;
18
UserManager<
ApplicationUser
> userManager,
19
SignInManager<
ApplicationUser
> signInManager)
52
var
user = await _userManager.GetUserAsync(User);
76
var
user = await _userManager.GetUserAsync(User);
Areas\Identity\Pages\Account\Register.cshtml.cs (7)
17
private readonly SignInManager<
ApplicationUser
> _signInManager;
18
private readonly UserManager<
ApplicationUser
> _userManager;
20
private readonly IEmailSender<
ApplicationUser
> _emailSender;
23
UserManager<
ApplicationUser
> userManager,
24
SignInManager<
ApplicationUser
> signInManager,
26
IEmailSender<
ApplicationUser
> emailSender)
82
var
user = new ApplicationUser
Data\ApplicationDbContext.cs (1)
9
public class ApplicationDbContext : IdentityDbContext<
ApplicationUser
>
Startup.cs (4)
11
public class BadDude : IUserConfirmation<
ApplicationUser
>
13
public Task<bool> IsConfirmedAsync(UserManager<
ApplicationUser
> manager,
ApplicationUser
user)
45
services.AddDefaultIdentity<
ApplicationUser
>(o => o.SignIn.RequireConfirmedAccount = true)