1 type derived from UserManager
Microsoft.AspNetCore.Identity (1)
AspNetUserManager.cs (1)
15public class AspNetUserManager<TUser> : UserManager<TUser>, IDisposable where TUser : class
156 references to UserManager
Microsoft.AspNetCore.Identity (11)
AspNetUserManager.cs (1)
39ILogger<UserManager<TUser>> logger)
DataProtectorTokenProvider.cs (6)
73/// <param name="manager">The <see cref="UserManager{TUser}"/> to retrieve user properties from.</param> 76public virtual async Task<string> GenerateAsync(string purpose, UserManager<TUser> manager, TUser user) 102/// <param name="manager">The <see cref="UserManager{TUser}"/> to retrieve user properties from.</param> 108public virtual async Task<bool> ValidateAsync(string purpose, string token, UserManager<TUser> manager, TUser user) 180/// <param name="manager">The <see cref="UserManager{TUser}"/> to retrieve user properties from.</param> 187public virtual Task<bool> CanGenerateTwoFactorTokenAsync(UserManager<TUser> manager, TUser user)
IdentityServiceCollectionExtensions.cs (1)
96services.TryAddScoped<UserManager<TUser>>();
SignInManager.cs (3)
33public SignInManager(UserManager<TUser> userManager, 68/// The <see cref="UserManager{TUser}"/> used. 70public UserManager<TUser> UserManager { get; set; }
Microsoft.AspNetCore.Identity.UI (92)
Areas\Identity\Pages\V4\Account\ConfirmEmail.cshtml.cs (2)
36private readonly UserManager<TUser> _userManager; 38public ConfirmEmailModel(UserManager<TUser> userManager)
Areas\Identity\Pages\V4\Account\ConfirmEmailChange.cshtml.cs (2)
36private readonly UserManager<TUser> _userManager; 39public ConfirmEmailChangeModel(UserManager<TUser> userManager, SignInManager<TUser> signInManager)
Areas\Identity\Pages\V4\Account\ExternalLogin.cshtml.cs (2)
95private readonly UserManager<TUser> _userManager; 103UserManager<TUser> userManager,
Areas\Identity\Pages\V4\Account\ForgotPassword.cshtml.cs (2)
54private readonly UserManager<TUser> _userManager; 57public ForgotPasswordModel(UserManager<TUser> userManager, IEmailSender emailSender)
Areas\Identity\Pages\V4\Account\LoginWith2fa.cshtml.cs (2)
80private readonly UserManager<TUser> _userManager; 85UserManager<TUser> userManager,
Areas\Identity\Pages\V4\Account\LoginWithRecoveryCode.cshtml.cs (2)
67private readonly UserManager<TUser> _userManager; 72UserManager<TUser> userManager,
Areas\Identity\Pages\V4\Account\Manage\ChangePassword.cshtml.cs (2)
82private readonly UserManager<TUser> _userManager; 87UserManager<TUser> userManager,
Areas\Identity\Pages\V4\Account\Manage\DeletePersonalData.cshtml.cs (2)
61private readonly UserManager<TUser> _userManager; 66UserManager<TUser> userManager,
Areas\Identity\Pages\V4\Account\Manage\Disable2fa.cshtml.cs (2)
39private readonly UserManager<TUser> _userManager; 43UserManager<TUser> userManager,
Areas\Identity\Pages\V4\Account\Manage\DownloadPersonalData.cshtml.cs (2)
34private readonly UserManager<TUser> _userManager; 38UserManager<TUser> userManager,
Areas\Identity\Pages\V4\Account\Manage\Email.cshtml.cs (2)
84private readonly UserManager<TUser> _userManager; 89UserManager<TUser> userManager,
Areas\Identity\Pages\V4\Account\Manage\EnableAuthenticator.cshtml.cs (2)
87private readonly UserManager<TUser> _userManager; 94UserManager<TUser> userManager,
Areas\Identity\Pages\V4\Account\Manage\ExternalLogins.cshtml.cs (2)
70private readonly UserManager<TUser> _userManager; 75UserManager<TUser> userManager,
Areas\Identity\Pages\V4\Account\Manage\GenerateRecoveryCodes.cshtml.cs (2)
47private readonly UserManager<TUser> _userManager; 51UserManager<TUser> userManager,
Areas\Identity\Pages\V4\Account\Manage\Index.cshtml.cs (2)
67private readonly UserManager<TUser> _userManager; 71UserManager<TUser> userManager,
Areas\Identity\Pages\V4\Account\Manage\PersonalData.cshtml.cs (2)
26private readonly UserManager<TUser> _userManager; 30UserManager<TUser> userManager,
Areas\Identity\Pages\V4\Account\Manage\ResetAuthenticator.cshtml.cs (2)
39readonly UserManager<TUser> _userManager; 44UserManager<TUser> userManager,
Areas\Identity\Pages\V4\Account\Manage\SetPassword.cshtml.cs (2)
72private readonly UserManager<TUser> _userManager; 76UserManager<TUser> userManager,
Areas\Identity\Pages\V4\Account\Manage\TwoFactorAuthentication.cshtml.cs (2)
64private readonly UserManager<TUser> _userManager; 69UserManager<TUser> userManager, SignInManager<TUser> signInManager, ILogger<TwoFactorAuthenticationModel> logger)
Areas\Identity\Pages\V4\Account\Register.cshtml.cs (2)
97private readonly UserManager<TUser> _userManager; 104UserManager<TUser> userManager,
Areas\Identity\Pages\V4\Account\RegisterConfirmation.cshtml.cs (2)
48private readonly UserManager<TUser> _userManager; 51public RegisterConfirmationModel(UserManager<TUser> userManager, IEmailSender sender)
Areas\Identity\Pages\V4\Account\ResendEmailConfirmation.cshtml.cs (2)
60private readonly UserManager<TUser> _userManager; 63public ResendEmailConfirmationModel(UserManager<TUser> userManager, IEmailSender emailSender)
Areas\Identity\Pages\V4\Account\ResetPassword.cshtml.cs (2)
83private readonly UserManager<TUser> _userManager; 85public ResetPasswordModel(UserManager<TUser> userManager)
Areas\Identity\Pages\V5\Account\ConfirmEmail.cshtml.cs (2)
36private readonly UserManager<TUser> _userManager; 38public ConfirmEmailModel(UserManager<TUser> userManager)
Areas\Identity\Pages\V5\Account\ConfirmEmailChange.cshtml.cs (2)
36private readonly UserManager<TUser> _userManager; 39public ConfirmEmailChangeModel(UserManager<TUser> userManager, SignInManager<TUser> signInManager)
Areas\Identity\Pages\V5\Account\ExternalLogin.cshtml.cs (2)
95private readonly UserManager<TUser> _userManager; 103UserManager<TUser> userManager,
Areas\Identity\Pages\V5\Account\ForgotPassword.cshtml.cs (2)
54private readonly UserManager<TUser> _userManager; 57public ForgotPasswordModel(UserManager<TUser> userManager, IEmailSender emailSender)
Areas\Identity\Pages\V5\Account\LoginWith2fa.cshtml.cs (2)
80private readonly UserManager<TUser> _userManager; 85UserManager<TUser> userManager,
Areas\Identity\Pages\V5\Account\LoginWithRecoveryCode.cshtml.cs (2)
67private readonly UserManager<TUser> _userManager; 72UserManager<TUser> userManager,
Areas\Identity\Pages\V5\Account\Manage\ChangePassword.cshtml.cs (2)
82private readonly UserManager<TUser> _userManager; 87UserManager<TUser> userManager,
Areas\Identity\Pages\V5\Account\Manage\DeletePersonalData.cshtml.cs (2)
61private readonly UserManager<TUser> _userManager; 66UserManager<TUser> userManager,
Areas\Identity\Pages\V5\Account\Manage\Disable2fa.cshtml.cs (2)
39private readonly UserManager<TUser> _userManager; 43UserManager<TUser> userManager,
Areas\Identity\Pages\V5\Account\Manage\DownloadPersonalData.cshtml.cs (2)
34private readonly UserManager<TUser> _userManager; 38UserManager<TUser> userManager,
Areas\Identity\Pages\V5\Account\Manage\Email.cshtml.cs (2)
84private readonly UserManager<TUser> _userManager; 89UserManager<TUser> userManager,
Areas\Identity\Pages\V5\Account\Manage\EnableAuthenticator.cshtml.cs (2)
87private readonly UserManager<TUser> _userManager; 94UserManager<TUser> userManager,
Areas\Identity\Pages\V5\Account\Manage\ExternalLogins.cshtml.cs (2)
70private readonly UserManager<TUser> _userManager; 75UserManager<TUser> userManager,
Areas\Identity\Pages\V5\Account\Manage\GenerateRecoveryCodes.cshtml.cs (2)
47private readonly UserManager<TUser> _userManager; 51UserManager<TUser> userManager,
Areas\Identity\Pages\V5\Account\Manage\Index.cshtml.cs (2)
67private readonly UserManager<TUser> _userManager; 71UserManager<TUser> userManager,
Areas\Identity\Pages\V5\Account\Manage\PersonalData.cshtml.cs (2)
26private readonly UserManager<TUser> _userManager; 30UserManager<TUser> userManager,
Areas\Identity\Pages\V5\Account\Manage\ResetAuthenticator.cshtml.cs (2)
39private readonly UserManager<TUser> _userManager; 44UserManager<TUser> userManager,
Areas\Identity\Pages\V5\Account\Manage\SetPassword.cshtml.cs (2)
72private readonly UserManager<TUser> _userManager; 76UserManager<TUser> userManager,
Areas\Identity\Pages\V5\Account\Manage\TwoFactorAuthentication.cshtml.cs (2)
64private readonly UserManager<TUser> _userManager; 69UserManager<TUser> userManager, SignInManager<TUser> signInManager, ILogger<TwoFactorAuthenticationModel> logger)
Areas\Identity\Pages\V5\Account\Register.cshtml.cs (2)
97private readonly UserManager<TUser> _userManager; 104UserManager<TUser> userManager,
Areas\Identity\Pages\V5\Account\RegisterConfirmation.cshtml.cs (2)
48private readonly UserManager<TUser> _userManager; 51public RegisterConfirmationModel(UserManager<TUser> userManager, IEmailSender sender)
Areas\Identity\Pages\V5\Account\ResendEmailConfirmation.cshtml.cs (2)
60private readonly UserManager<TUser> _userManager; 63public ResendEmailConfirmationModel(UserManager<TUser> userManager, IEmailSender emailSender)
Areas\Identity\Pages\V5\Account\ResetPassword.cshtml.cs (2)
83private readonly UserManager<TUser> _userManager; 85public ResetPasswordModel(UserManager<TUser> userManager)
Microsoft.Extensions.Identity.Core (53)
AuthenticatorTokenProvider.cs (5)
18/// <param name="manager">The <see cref="UserManager{TUser}"/> to retrieve the <paramref name="user"/> from.</param> 21public virtual async Task<bool> CanGenerateTwoFactorTokenAsync(UserManager<TUser> manager, TUser user) 32/// <param name="manager">The <see cref="UserManager{TUser}"/> to retrieve the <paramref name="user"/> from.</param> 35public virtual Task<string> GenerateAsync(string purpose, UserManager<TUser> manager, TUser user) 48public virtual async Task<bool> ValidateAsync(string purpose, string token, UserManager<TUser> manager, TUser user)
DefaultUserConfirmation.cs (2)
17/// <param name="manager">The <see cref="UserManager{TUser}"/> that can be used to retrieve user properties.</param> 20public virtual async Task<bool> IsConfirmedAsync(UserManager<TUser> manager, TUser user)
EmailTokenProvider.cs (4)
18/// <param name="manager">The <see cref="UserManager{TUser}"/> to retrieve the <paramref name="user"/> from.</param> 21public override async Task<bool> CanGenerateTwoFactorTokenAsync(UserManager<TUser> manager, TUser user) 32/// <param name="manager">The <see cref="UserManager{TUser}"/> to retrieve the <paramref name="user"/> from.</param> 35public override async Task<string> GetUserModifierAsync(string purpose, UserManager<TUser> manager,
IdentityBuilder.cs (2)
159/// Adds a <see cref="UserManager{TUser}"/> for the <see cref="UserType"/>. 166var userManagerType = typeof(UserManager<>).MakeGenericType(UserType);
IdentityServiceCollectionExtensions.cs (1)
48services.TryAddScoped<UserManager<TUser>>();
IPasswordValidator.cs (2)
17/// <param name="manager">The <see cref="UserManager{TUser}"/> to retrieve the <paramref name="user"/> properties from.</param> 21Task<IdentityResult> ValidateAsync(UserManager<TUser> manager, TUser user, string? password);
IUserConfirmation.cs (2)
17/// <param name="manager">The <see cref="UserManager{TUser}"/> that can be used to retrieve user properties.</param> 20Task<bool> IsConfirmedAsync(UserManager<TUser> manager, TUser user);
IUserTwoFactorTokenProvider.cs (6)
18/// <param name="manager">The <see cref="UserManager{TUser}"/> that can be used to retrieve user properties.</param> 33Task<string> GenerateAsync(string purpose, UserManager<TUser> manager, TUser user); 41/// <param name="manager">The <see cref="UserManager{TUser}"/> that can be used to retrieve user properties.</param> 48Task<bool> ValidateAsync(string purpose, string token, UserManager<TUser> manager, TUser user); 54/// <param name="manager">The <see cref="UserManager{TUser}"/> that can be used to retrieve user properties.</param> 61Task<bool> CanGenerateTwoFactorTokenAsync(UserManager<TUser> manager, TUser user);
IUserValidator.cs (2)
17/// <param name="manager">The <see cref="UserManager{TUser}"/> that can be used to retrieve user properties.</param> 20Task<IdentityResult> ValidateAsync(UserManager<TUser> manager, TUser user);
PasswordValidator.cs (2)
36/// <param name="manager">The <see cref="UserManager{TUser}"/> to retrieve the <paramref name="user"/> properties from.</param> 40public virtual Task<IdentityResult> ValidateAsync(UserManager<TUser> manager, TUser user, string? password)
PhoneNumberTokenProvider.cs (4)
22/// <param name="manager">The <see cref="UserManager{TUser}"/> that can be used to retrieve user properties.</param> 30public override async Task<bool> CanGenerateTwoFactorTokenAsync(UserManager<TUser> manager, TUser user) 43/// <param name="manager">The <see cref="UserManager{TUser}"/> that can be used to retrieve user properties.</param> 49public override async Task<string> GetUserModifierAsync(string purpose, UserManager<TUser> manager, TUser user)
TotpSecurityStampBasedTokenProvider.cs (8)
22/// <param name="manager">The <see cref="UserManager{TUser}"/> that can be used to retrieve user properties.</param> 37public virtual async Task<string> GenerateAsync(string purpose, UserManager<TUser> manager, TUser user) 52/// <param name="manager">The <see cref="UserManager{TUser}"/> that can be used to retrieve user properties.</param> 59public virtual async Task<bool> ValidateAsync(string purpose, string token, UserManager<TUser> manager, TUser user) 77/// <param name="manager">The <see cref="UserManager{TUser}"/> that can be used to retrieve user properties.</param> 83public virtual async Task<string> GetUserModifierAsync(string purpose, UserManager<TUser> manager, TUser user) 95/// <param name="manager">The <see cref="UserManager{TUser}"/> that can be used to retrieve user properties.</param> 102public abstract Task<bool> CanGenerateTwoFactorTokenAsync(UserManager<TUser> manager, TUser user);
UserClaimsPrincipalFactory.cs (7)
22/// <param name="userManager">The <see cref="UserManager{TUser}"/> to retrieve user information from.</param> 25UserManager<TUser> userManager, 38/// Gets the <see cref="UserManager{TUser}"/> for this factory. 41/// The current <see cref="UserManager{TUser}"/> for this factory instance. 43public UserManager<TUser> UserManager { get; private set; } 112/// <param name="userManager">The <see cref="UserManager{TUser}"/> to retrieve user information from.</param> 115public UserClaimsPrincipalFactory(UserManager<TUser> userManager, RoleManager<TRole> roleManager, IOptions<IdentityOptions> options)
UserManager.cs (2)
58/// Constructs a new instance of <see cref="UserManager{TUser}"/>. 77ILogger<UserManager<TUser>> logger)
UserValidator.cs (4)
37/// <param name="manager">The <see cref="UserManager{TUser}"/> that can be used to retrieve user properties.</param> 40public virtual async Task<IdentityResult> ValidateAsync(UserManager<TUser> manager, TUser user) 52private async Task<List<IdentityError>?> ValidateUserName(UserManager<TUser> manager, TUser user) 82private async Task<List<IdentityError>?> ValidateEmail(UserManager<TUser> manager, TUser user, List<IdentityError>? errors)