Example #1
0
 public AccountController(
     TenantUserManager userManager,
     SignInManager <TenantUser> signInManager,
     IEmailSender emailSender,
     Tenant currentTenant,
     ISmsSender smsSender,
     ILoggerFactory loggerFactory,
     IConfiguration configuration,
     IIdentityServerInteractionService interaction,
     IHttpContextAccessor httpContextAccessor,
     ActionTrackingDbContext context)
 {
     _userManager         = userManager;
     _signInManager       = signInManager;
     _emailSender         = emailSender;
     _currentTenant       = currentTenant;
     _smsSender           = smsSender;
     _logger              = loggerFactory.CreateLogger <AccountController>();
     _configuration       = configuration;
     _interaction         = interaction;
     _httpContextAccessor = httpContextAccessor;
     _dbContext           = context;
 }
Example #2
0
 public ProfileService(TenantUserManager tenantUserManager, Tenant tenant)
 {
     _tenantUserManager = tenantUserManager;
     _currentTenant     = tenant;
 }