예제 #1
0
 public AuthController(
     IQueryExecutor queryExecutor,
     IUserContextService userContextService,
     AuthenticationControllerHelper authenticationHelper,
     AccountManagementControllerHelper accountManagementControllerHelper
     )
 {
     _queryExecutor        = queryExecutor;
     _authenticationHelper = authenticationHelper;
     _userContextService   = userContextService;
     _accountManagementControllerHelper = accountManagementControllerHelper;
 }
예제 #2
0
 public VisualEditorController(
     IQueryExecutor queryExecutor,
     IUserContextService userContextService,
     IResourceLocator resourceLocator,
     AuthenticationControllerHelper authenticationHelper,
     AccountManagementControllerHelper accountManagementControllerHelper
     )
 {
     _queryExecutor        = queryExecutor;
     _authenticationHelper = authenticationHelper;
     _resourceLocator      = resourceLocator;
     _userContextService   = userContextService;
     _accountManagementControllerHelper = accountManagementControllerHelper;
 }
예제 #3
0
 public AuthController(
     IQueryExecutor queryExecutor,
     IUserContextService userContextService,
     AuthenticationControllerHelper authenticationHelper,
     AccountManagementControllerHelper accountManagementControllerHelper,
     IAdminRouteLibrary adminRouteLibrary,
     IEnumerable <IUserAreaDefinition> userAreaDefinitions
     )
 {
     _queryExecutor        = queryExecutor;
     _authenticationHelper = authenticationHelper;
     _userContextService   = userContextService;
     _accountManagementControllerHelper = accountManagementControllerHelper;
     _adminRouteLibrary = adminRouteLibrary;
     _adminUserArea     = userAreaDefinitions.Single(d => d is CofoundryAdminUserArea);
 }