//private readonly MenuDbContext _db; public AuthService(IJWTHasher hasher, IUserService userService, IJWTService jwtService, IErrorService errorService)//, IJWTService jwtService) { //_db = db; _hasher = hasher; _jwtService = jwtService; _userService = userService; _errorService = errorService; }
//private static IServiceProvider _serviceProvider; //front endpoints public PlanitPokerHub(MultiThreadHelper multiThreadHelper, IStringValidator stringValidator, IPlanitPokerService planitPokerService, IPlanitApiHelper apiHealper, IJWTService jwtService, IJWTHasher hasher, IErrorService errorService , IErrorContainer errorContainer) { _multiThreadHelper = multiThreadHelper; _stringValidator = stringValidator; _planitPokerService = planitPokerService; _jwtService = jwtService; _hasher = hasher; _errorService = errorService; _errorContainer = errorContainer; _logger = null; //todo _apiHealper = apiHealper; _apiHealper.InitByHub(this); }
//private readonly MenuDbContext _db; public UserService(IUserRepository userRepository, IJWTHasher hasher) { _userRepository = userRepository; _hasher = hasher; }
public JWTUserManager(IJWTHasher hasher, IUserService userService) { //_db = db; _hasher = hasher; _userService = userService; }