Beispiel #1
0
 public AccountController(
     UserManager userManager,
     IMultiTenancyConfig multiTenancyConfig,
     TenantManager tenantManager,
     IUnitOfWorkManager unitOfWorkManager,
     StudioXLoginResultTypeHelper loginResultTypeHelper,
     LogInManager logInManager,
     SignInManager signInManager,
     UserRegistrationManager userRegistrationManager,
     ISessionAppService sessionAppService,
     ITenantCache tenantCache,
     INotificationPublisher notificationPublisher)
 {
     this.userManager                  = userManager;
     this.multiTenancyConfig           = multiTenancyConfig;
     this.tenantManager                = tenantManager;
     this.unitOfWorkManager            = unitOfWorkManager;
     this.studioXLoginResultTypeHelper = loginResultTypeHelper;
     this.logInManager                 = logInManager;
     this.signInManager                = signInManager;
     this.userRegistrationManager      = userRegistrationManager;
     this.sessionAppService            = sessionAppService;
     this.tenantCache                  = tenantCache;
     this.notificationPublisher        = notificationPublisher;
 }
Beispiel #2
0
 public TokenAuthController(
     LogInManager logInManager,
     ITenantCache tenantCache,
     StudioXLoginResultTypeHelper studioXLoginResultTypeHelper,
     TokenAuthConfiguration configuration,
     IExternalAuthConfiguration externalAuthConfiguration,
     IExternalAuthManager externalAuthManager,
     UserRegistrationManager userRegistrationManager)
 {
     this.logInManager = logInManager;
     this.tenantCache  = tenantCache;
     this.studioXLoginResultTypeHelper = studioXLoginResultTypeHelper;
     this.configuration             = configuration;
     this.externalAuthConfiguration = externalAuthConfiguration;
     this.externalAuthManager       = externalAuthManager;
     this.userRegistrationManager   = userRegistrationManager;
 }