public AuthController(IJwtTokenSettings jwtTokenSettings, IUserService userService, IAuthService authService)
 {
     _jwtTokenSettings = jwtTokenSettings;
     _userService      = userService;
     _authService      = authService;
     tokenParams       = new Dictionary <string, string>();
 }
 public AuthorizationController(
     IHttpContextAccessor httpContextAccessor,
     IJwtTokenSettings jwtTokenSettings,
     IUserService userService)
 {
     _httpContextAccessor = httpContextAccessor;
     _jwtTokenSettings    = jwtTokenSettings;
     _userService         = userService;
 }
Пример #3
0
 public ShoppingController(IShoppingService shoppingService, IJwtTokenSettings jwtTokenSettings)
 {
     _shoppingService  = shoppingService;
     _jwtTokenSettings = jwtTokenSettings;
 }
Пример #4
0
 public MealsController(IMealsService mealsService, IJwtTokenSettings jwtTokenSettings)
 {
     _mealsService     = mealsService;
     _jwtTokenSettings = jwtTokenSettings;
 }