1 type derived from UserManager
Microsoft.AspNetCore.Identity (1)
AspNetUserManager.cs (1)
15public class AspNetUserManager<TUser> : UserManager<TUser>, IDisposable where TUser : class
86 references to UserManager
Microsoft.AspNetCore.Identity (33)
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)
IdentityApiEndpointRouteBuilderExtensions.cs (18)
34/// <typeparam name="TUser">The type describing the user. This should match the generic parameter in <see cref="UserManager{TUser}"/>.</typeparam> 60var userManager = sp.GetRequiredService<UserManager<TUser>>(); 145var userManager = sp.GetRequiredService<UserManager<TUser>>(); 196var userManager = sp.GetRequiredService<UserManager<TUser>>(); 209var userManager = sp.GetRequiredService<UserManager<TUser>>(); 228var userManager = sp.GetRequiredService<UserManager<TUser>>(); 264var userManager = signInManager.UserManager; 339var userManager = sp.GetRequiredService<UserManager<TUser>>(); 351var userManager = sp.GetRequiredService<UserManager<TUser>>(); 390async Task SendConfirmationEmailAsync(TUser user, UserManager<TUser> userManager, HttpContext context, string email, bool isChange = false) 457private static async Task<InfoResponse> CreateInfoResponseAsync<TUser>(TUser user, UserManager<TUser> userManager)
IdentityServiceCollectionExtensions.cs (1)
107services.TryAddScoped<UserManager<TUser>>();
PasskeyHandler.cs (3)
20private readonly UserManager<TUser> _userManager; 26/// <param name="userManager">The <see cref="UserManager{TUser}"/>.</param> 28public PasskeyHandler(UserManager<TUser> userManager, IOptions<IdentityPasskeyOptions> options)
SignInManager.cs (4)
51public SignInManager(UserManager<TUser> userManager, 84/// The <see cref="UserManager{TUser}"/> used. 86public UserManager<TUser> UserManager { get; set; } 596/// <see cref="PasskeyAssertionResult{TUser}.User"/> using <see cref="UserManager{TUser}.AddOrUpdatePasskeyAsync(TUser, UserPasskeyInfo)"/>.
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)
169/// Adds a <see cref="UserManager{TUser}"/> for the <see cref="UserType"/>. 176var userManagerType = typeof(UserManager<>).MakeGenericType(UserType);
IdentityServiceCollectionExtensions.cs (1)
49services.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, 39/// Gets the <see cref="UserManager{TUser}"/> for this factory. 42/// The current <see cref="UserManager{TUser}"/> for this factory instance. 44public UserManager<TUser> UserManager { get; private set; } 113/// <param name="userManager">The <see cref="UserManager{TUser}"/> to retrieve user information from.</param> 116public UserClaimsPrincipalFactory(UserManager<TUser> userManager, RoleManager<TRole> roleManager, IOptions<IdentityOptions> options)
UserManager.cs (2)
60/// Constructs a new instance of <see cref="UserManager{TUser}"/>. 79ILogger<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)