Example #1
0
 public BaseController(UserManager <GXUser> userManager, GXContext context,
                       IHttpContextAccessor httpContextAccessor, IEmailSender emailSender)
 {
     _caller      = httpContextAccessor.HttpContext.User;
     _context     = context;
     _userManager = userManager;
     _emailSender = emailSender;
 }
 public AccountController(UserManager <GXUser> userManager,
                          IEmailSender emailSender,
                          IJwtFactory jwtFactory, IOptions <JwtIssuerOptions> jwtOptions,
                          GXContext context, IHttpContextAccessor httpContextAccessor) : base(userManager, context, httpContextAccessor, emailSender)
 {
     _jwtFactory = jwtFactory;
     _jwtOptions = jwtOptions.Value;
 }
 public GroupManager(GXContext db)
 {
     _db = db;
 }
 public ListsController(UserManager <GXUser> userManager, GXContext context, IHttpContextAccessor httpContextAccessor)
 {
     _caller      = httpContextAccessor.HttpContext.User;
     _context     = context;
     _userManager = userManager;
 }
Example #5
0
 public GroupsController(UserManager <GXUser> userManager, GXContext context,
                         IHttpContextAccessor httpContextAccessor, IEmailSender emailSender) : base(userManager, context, httpContextAccessor, emailSender)
 {
 }