Esempio n. 1
0
 public GetAllUsersHandler(IUserService userService,
                           IMapper mapper, ITokenAuthenticationService authService)
 {
     _userService = userService;
     _mapper      = mapper;
     _authService = authService;
 }
Esempio n. 2
0
 public GetAllTeamsHandler(ITeamService teamService, ITokenAuthenticationService authService,
                           IMapper mapper)
 {
     _teamService = teamService;
     _authService = authService;
     _mapper      = mapper;
 }
Esempio n. 3
0
 public GetAllDbLogsHandler(IDbLogService dbLogService, ITokenAuthenticationService authService,
                            IMapper mapper)
 {
     _dbLogService = dbLogService;
     _authService  = authService;
     _mapper       = mapper;
 }
Esempio n. 4
0
 public RegisterCommandHandler(IUserService userService, ITokenAuthenticationService authService,
                               IMapper mapper)
 {
     _service     = userService;
     _authService = authService;
     _mapper      = mapper;
 }
Esempio n. 5
0
 public UpdateTeamNameHandler(ITeamService teamService, ITokenAuthenticationService authService,
                              IMapper mapper)
 {
     _teamService = teamService;
     _authService = authService;
     _mapper      = mapper;
 }
Esempio n. 6
0
 public GetSingleTaskForTeamHandler(ITasksService taskService, ITokenAuthenticationService authService,
                                    IMapper mapper)
 {
     _taskService = taskService;
     _authService = authService;
     _mapper      = mapper;
 }
Esempio n. 7
0
 public UpdateUserInfoHandler(IUserService userService, ITokenAuthenticationService authService,
                              IMapper mapper)
 {
     _userService = userService;
     _authService = authService;
     _mapper      = mapper;
 }
Esempio n. 8
0
 public AssignUserToTaskHandler(ITasksService taskService, ITokenAuthenticationService authService,
                                IMapper mapper)
 {
     _taskService = taskService;
     _authService = authService;
     _mapper      = mapper;
 }
Esempio n. 9
0
 public TeamForCreationHandler(ITeamService teamService, ITokenAuthenticationService authService,
                               IMapper mapper)
 {
     _teamService = teamService;
     _authService = authService;
     _mapper      = mapper;
 }
Esempio n. 10
0
 public GetCommentHandler(ICommentService commentService, ITokenAuthenticationService authService,
                          IMapper mapper)
 {
     _commentService = commentService;
     _authService    = authService;
     _mapper         = mapper;
 }
Esempio n. 11
0
 public RemoveUserFromTaskHandler(ITasksService taskService, ITokenAuthenticationService authService,
                                  IEmailService emailService)
 {
     _taskService  = taskService;
     _authService  = authService;
     _emailService = emailService;
 }
Esempio n. 12
0
 public LoginUserCommandHandler(ITokenAuthenticationService authService,
                                IUserService userService, IMapper mapper)
 {
     _authService = authService;
     _userService = userService;
     _mapper      = mapper;
 }
Esempio n. 13
0
 public AuthenticateHandler(
     ITokenAuthenticationService tokenAuthenticationService,
     IConnectedClientContext connectedClientContext)
 {
     _tokenAuthenticationService = tokenAuthenticationService;
     _connectedClientContext     = connectedClientContext;
 }
Esempio n. 14
0
 public GetUserDataHandler(IUserService userService, ITokenAuthenticationService authService,
                           IMapper mapper)
 {
     _userService = userService;
     _authService = authService;
     _mapper      = mapper;
 }
Esempio n. 15
0
 public RemoveUserFromTeamHandler(IUserService userService, ITeamService teamService,
                                  ITokenAuthenticationService authService)
 {
     _userService = userService;
     _teamService = teamService;
     _authService = authService;
 }
Esempio n. 16
0
 public DenyTaskCompletionHandler(ITasksService taskService, ITokenAuthenticationService authService,
                                  IMapper mapper, IEmailService emailService)
 {
     _taskService  = taskService;
     _authService  = authService;
     _mapper       = mapper;
     _emailService = emailService;
 }
Esempio n. 17
0
 public GetAllLogsForTaskHandler(ILogService logService, ITasksService tasksService,
                                 ITokenAuthenticationService authService, IMapper mapper)
 {
     _logService   = logService;
     _tasksService = tasksService;
     _authService  = authService;
     _mapper       = mapper;
 }
Esempio n. 18
0
 public AssignUserToTeamHandler(ITeamService teamService, IUserService userService,
                                ITokenAuthenticationService authService, IMapper mapper)
 {
     _teamService = teamService;
     _userService = userService;
     _authService = authService;
     _mapper      = mapper;
 }
Esempio n. 19
0
 public UpdateCommentHandler(ICommentService commentService, ITasksService taskService,
                             ITokenAuthenticationService authService, IMapper mapper)
 {
     _commentService = commentService;
     _taskService    = taskService;
     _authService    = authService;
     _mapper         = mapper;
 }
Esempio n. 20
0
 public UsersController(ITokenAuthenticationService authService,
                        UserManager <ApplicationUser> userManager,
                        ILogger <UsersController> logger)
 {
     _authService = authService;
     _userManager = userManager;
     _logger      = logger;
 }
Esempio n. 21
0
 public ReopenTaskHandler(ITasksService taskService, ITokenAuthenticationService authService,
                          IMapper mapper, IEmailService emailService)
 {
     _taskService  = taskService;
     _authService  = authService;
     _mapper       = mapper;
     _emailService = emailService;
 }
Esempio n. 22
0
 public CreateNewTaskHandler(ITasksService tasksService, IUserService userService,
                             ITokenAuthenticationService authService, IMapper mapper, IEmailService emailService)
 {
     _tasksService = tasksService;
     _userService  = userService;
     _authService  = authService;
     _mapper       = mapper;
     _emailService = emailService;
 }
Esempio n. 23
0
 public AuthenticateConnectionInitializer(
     IConnectionInitializer connectionInitializer,
     ITokenAuthenticationService tokenAuthenticationService,
     IConnectedClientContext connectedClientContext)
 {
     _connectionInitializer      = connectionInitializer;
     _tokenAuthenticationService = tokenAuthenticationService;
     _connectedClientContext     = connectedClientContext;
 }
Esempio n. 24
0
 public AddLogToATaskHandler(ILogService logService, ITasksService taskService,
                             ITeamService teamService, ITokenAuthenticationService authService, IMapper mapper,
                             IEmailService emailService)
 {
     _logService   = logService;
     _taskService  = taskService;
     _teamService  = teamService;
     _authService  = authService;
     _mapper       = mapper;
     _emailService = emailService;
 }
Esempio n. 25
0
 public AccountController(ITokenAuthenticationService authService,
                          ILogger <AccountController> logger)
 {
     _authService = authService;
     _logger      = logger;
 }
Esempio n. 26
0
 public UserForLoginValidator(ITokenAuthenticationService service)
 {
     RuleFor(x => new { x.Email, x.Password })
     .Must(m => service.UserPasswordCheck(m.Email, m.Password)).WithErrorCode("404")
     .WithMessage("Invalid email or password, please try again.");
 }
Esempio n. 27
0
 public DeleteCommentHandler(ICommentService commentService, ITokenAuthenticationService authService)
 {
     _commentService = commentService;
     _authService    = authService;
 }
Esempio n. 28
0
 public AuthenticationController(ITokenAuthenticationService tokenAuthService)
 {
     _tokenAuthService = tokenAuthService;
 }
Esempio n. 29
0
 public GetDbLogCommandTest()
 {
     _dbLogService = Substitute.For <IDbLogService>();
     _authService  = Substitute.For <ITokenAuthenticationService>();
     _mapper       = Substitute.For <IMapper>();
 }