public PasswordResetManager(IDbContextFetcher dbContextFetcher, UserManager <MoxUser> userManager, IHttpContextAccessor httpContextAccessor, Mox.Communication.EmailSender emailSender) { this._context = dbContextFetcher.FetchDbContext <Data.MoxIdentityDbContext>(); this._userManager = userManager; this._httpContextAccessor = httpContextAccessor; this._emailSender = emailSender; }
public DesignsController(IDbContextFetcher dbContextFetcher, UserManager <MoxUser> userManager, IHostingEnvironment hostingEnvironment, INotificationSender notificationSender) { this._context = dbContextFetcher.FetchDbContext <Data.IDesignDbContext>(); this._userManager = userManager; this._hostingEnvironment = hostingEnvironment; this._notificationSender = notificationSender; }
public MyAccountController(IDbContextFetcher dbContextFetcher, UserManager <MoxUser> userManager, RoleManager <IdentityRole> roleManager, IUserRolesFetcher rolesFetcher, SignInManager <MoxUser> signInManager, IOptions <SettingsOptions> settingsExtension) { this._context = dbContextFetcher.FetchDbContext <Data.MoxIdentityDbContext>(); this._userManager = userManager; this._roleManager = roleManager; this._rolesFetcher = rolesFetcher as Services.UserRolesFetcher; this._signinManager = signInManager; this._settingsExtension = settingsExtension.Value; }
public UserManagementController(IDbContextFetcher dbContextFetcher, IUserValidator <MoxUser> userValidator, UserManager <MoxUser> userManager, RoleManager <IdentityRole> roleManager, IUserRolesFetcher rolesFetcher, SignInManager <MoxUser> signInManager, IStringLocalizer localizer, IOptions <SettingsOptions> settingsExtension, IOptions <MoxIdentityOptions> identityOptions) { this._context = dbContextFetcher.FetchDbContext <Data.MoxIdentityDbContext>(); this._userValidator = userValidator; this._userManager = userManager; this._roleManager = roleManager; this._rolesFetcher = rolesFetcher as Services.UserRolesFetcher; this._signinManager = signInManager; this._localizer = localizer; this._settingsExtension = settingsExtension.Value; this._identityOptions = identityOptions.Value; }
public RoleManagementController(IDbContextFetcher dbContextFetcher, IStringLocalizer localizer) { this._context = dbContextFetcher.FetchDbContext <Data.MoxIdentityDbContext>(); this._localizer = localizer; }
public NotificationCenterSubscriber(IDbContextFetcher dbContextFetcher) { this._context = dbContextFetcher.FetchDbContext <INotificationCenterDbContext>(); }
public NotificationCenterSender(IMessengerProvider messengerProvider, INotificationSubscriber subscriber, IDbContextFetcher dbContextFetcher, EmailSender emailSender) { this._messengerProvider = messengerProvider; this._subscriber = subscriber; this._context = dbContextFetcher.FetchDbContext <INotificationCenterDbContext>(); this._emailSender = emailSender; }
public UserImage(IDbContextFetcher dbContextFetcher, IHostingEnvironment hostingEnvironment) { this._context = dbContextFetcher.FetchDbContext <Data.IDesignDbContext>(); this._hostingEnvironment = hostingEnvironment; }