Ejemplo n.º 1
0
 public ResetPasswordService(IUserManagementService userManagementService, IPasswordManagementService passwordManagementService,
                             IUserLookup userLookup)
 {
     _userManagementService     = userManagementService;
     _passwordManagementService = passwordManagementService;
     _userLookup = userLookup;
 }
Ejemplo n.º 2
0
 public LoginService(IUserLookup userLookup, IAuthorisationService authorisationService,
                     IPasswordManagementService passwordManagementService)
 {
     _userLookup                = userLookup;
     _authorisationService      = authorisationService;
     _passwordManagementService = passwordManagementService;
 }
Ejemplo n.º 3
0
 public EnterOrderEmailController(CartModel cart, ICartManager cartManager, ILoginService loginService, IUserLookup userService)
 {
     _cart         = cart;
     _cartManager  = cartManager;
     _loginService = loginService;
     _userService  = userService;
 }
Ejemplo n.º 4
0
 public UserStore(IUserManagementService userManagementService, IRoleService roleService, ISession session, IUserLookup userLookup)
 {
     _userManagementService = userManagementService;
     _session     = session;
     _userLookup  = userLookup;
     _roleService = roleService;
 }
Ejemplo n.º 5
0
 public OrderPlacedService(IUserLookup userLookup, ILoginService loginService, ISession session,
                           IRegistrationService registrationService)
 {
     _userLookup          = userLookup;
     _loginService        = loginService;
     _session             = session;
     _registrationService = registrationService;
 }
Ejemplo n.º 6
0
 public LoginService(IUserLookup userLookup,
                     IPasswordManagementService passwordManagementService,
                     IGetVerifiedUserResult getVerifiedUserResult)
 {
     _userLookup = userLookup;
     _passwordManagementService = passwordManagementService;
     _getVerifiedUserResult     = getVerifiedUserResult;
 }
Ejemplo n.º 7
0
 public ResetPasswordService(IUserManagementService userManagementService, IPasswordManagementService passwordManagementService,
                             IMessageParser <ResetPasswordMessageTemplate, User> messageParser, IUserLookup userLookup)
 {
     _userManagementService     = userManagementService;
     _passwordManagementService = passwordManagementService;
     _messageParser             = messageParser;
     _userLookup = userLookup;
 }
Ejemplo n.º 8
0
 public LoginController(IResetPasswordService resetPasswordService, IUniquePageService uniquePageService,
                        ILoginService loginService, IStringResourceProvider stringResourceProvider, IUserLookup userLookup)
 {
     _resetPasswordService   = resetPasswordService;
     _uniquePageService      = uniquePageService;
     _loginService           = loginService;
     _stringResourceProvider = stringResourceProvider;
     _userLookup             = userLookup;
 }
 public ResetPasswordServiceTests()
 {
     _userManagementService     = A.Fake <IUserManagementService>();
     _passwordManagementService = A.Fake <IPasswordManagementService>();
     _userLookup           = A.Fake <IUserLookup>();
     _resetPasswordService = new ResetPasswordService(_userManagementService,
                                                      _passwordManagementService,
                                                      _userLookup);
 }
Ejemplo n.º 10
0
 public ResetPasswordServiceTests()
 {
     _userManagementService     = A.Fake <IUserManagementService>();
     _passwordManagementService = A.Fake <IPasswordManagementService>();
     _messageParser             = A.Fake <IMessageParser <ResetPasswordMessageTemplate, User> >();
     _userLookup           = A.Fake <IUserLookup>();
     _resetPasswordService = new ResetPasswordService(_userManagementService,
                                                      _passwordManagementService,
                                                      _messageParser,
                                                      _userLookup);
 }
Ejemplo n.º 11
0
 public LoginController(IResetPasswordService resetPasswordService, IUniquePageService uniquePageService,
                        ILoginService loginService, IStringResourceProvider stringResourceProvider, IUserLookup userLookup,
                        ILogUserIn logUserIn, ISetVerifiedUserData setVerifiedUserData)
 {
     _resetPasswordService   = resetPasswordService;
     _uniquePageService      = uniquePageService;
     _loginService           = loginService;
     _stringResourceProvider = stringResourceProvider;
     _userLookup             = userLookup;
     _logUserIn           = logUserIn;
     _setVerifiedUserData = setVerifiedUserData;
 }
Ejemplo n.º 12
0
 public ConnectionUseCase(IConnectionInProgress connectionInProgress,
                          string user1Id,
                          string user2Id,
                          IUserLookup lookup,
                          IConnectorDestination destination)
 {
     _connectionInProgress = connectionInProgress;
     _user1Id     = user1Id;
     _user2Id     = user2Id;
     _lookup      = lookup;
     _destination = destination;
 }
Ejemplo n.º 13
0
 public UserAccountController(IOrderService orderService,
                              IUserLookup userLookup, IUserManagementService userManagementService,
                              IPasswordManagementService passwordManagementService,
                              IAuthorisationService authorisationService, IProductReviewUIService productReviewUIService)
 {
     _orderService              = orderService;
     _userLookup                = userLookup;
     _userManagementService     = userManagementService;
     _passwordManagementService = passwordManagementService;
     _authorisationService      = authorisationService;
     _productReviewUIService    = productReviewUIService;
     _userManagementService     = userManagementService;
 }
Ejemplo n.º 14
0
        public LoginControllerTests()
        {
            _userService          = A.Fake <IUserLookup>();
            _resetPasswordService = A.Fake <IResetPasswordService>();
            _loginService         = A.Fake <ILoginService>();
            _uniquePageService    = A.Fake <IUniquePageService>();
            _loginController      = new LoginController(_resetPasswordService, _uniquePageService,
                                                        _loginService, A.Fake <IStringResourceProvider>(), _userService);

            // initial setup as this is reused
            A.CallTo(() => _uniquePageService.RedirectTo <LoginPage>(null)).Returns(new RedirectResult("~/login-page"));
            A.CallTo(() => _uniquePageService.RedirectTo <ForgottenPasswordPage>(null))
            .Returns(new RedirectResult("~/forgotten-password"));
        }
Ejemplo n.º 15
0
 public TwoFactorConfirmationService(HttpSessionStateBase sessionState, IUserLookup userLookup)
 {
     _sessionState = sessionState;
     _userLookup   = userLookup;
 }
Ejemplo n.º 16
0
 public UserUseCaseFactory(IConnectorDestination connectorDestination, IUserLookup userLookup)
 {
     _connectorDestination = connectorDestination;
     _userLookup           = userLookup;
 }
 public UserController(IUserService UserService, IUserLookup UserLookup)
 {
     this.UserService = UserService;
     this.UserLookup  = UserLookup;
 }
 public PersistentNotificationUIService(ISession session, IUserLookup userLookup)
 {
     _session    = session;
     _userLookup = userLookup;
 }
Ejemplo n.º 19
0
 public GetCurrentUser(HttpContextBase context, IUserLookup userLookup)
 {
     _context    = context;
     _userLookup = userLookup;
 }
Ejemplo n.º 20
0
 public Sessions(IUserLookup userLookup)
 {
     UserLookup = userLookup;
 }
Ejemplo n.º 21
0
 public PortfolioService(IPortfolioRepository repository, IUserLookup userLookup)
 {
     _repository = repository;
     _userLookup = userLookup;
 }