1 write to _userManager
IdentitySample.Mvc (1)
Controllers\AccountController.cs (1)
31
_userManager
= userManager;
14 references to _userManager
IdentitySample.Mvc (14)
Controllers\AccountController.cs (14)
107
var result = await
_userManager
.CreateAsync(user, model.Password);
212
var result = await
_userManager
.CreateAsync(user);
215
result = await
_userManager
.AddLoginAsync(user, info);
243
var user = await
_userManager
.FindByIdAsync(userId);
248
var result = await
_userManager
.ConfirmEmailAsync(user, code);
270
var user = await
_userManager
.FindByEmailAsync(model.Email);
271
if (user == null || !(await
_userManager
.IsEmailConfirmedAsync(user)))
319
var user = await
_userManager
.FindByEmailAsync(model.Email);
325
var result = await
_userManager
.ResetPasswordAsync(user, model.Code, model.Password);
354
var userFactors = await
_userManager
.GetValidTwoFactorProvidersAsync(user);
383
var code = await
_userManager
.GenerateTwoFactorTokenAsync(user, model.SelectedProvider);
392
await _emailSender.SendEmailAsync(await
_userManager
.GetEmailAsync(user), "Security Code", message);
396
await _smsSender.SendSmsAsync(await
_userManager
.GetPhoneNumberAsync(user), message);
547
return
_userManager
.GetUserAsync(HttpContext.User);