예제 #1
0
 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;
 }
예제 #2
0
 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;
 }
예제 #3
0
 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;
 }
예제 #4
0
 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;
 }
예제 #5
0
 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;
 }
예제 #8
0
 public UserImage(IDbContextFetcher dbContextFetcher, IHostingEnvironment hostingEnvironment)
 {
     this._context            = dbContextFetcher.FetchDbContext <Data.IDesignDbContext>();
     this._hostingEnvironment = hostingEnvironment;
 }