public UserController(IUserAPIClient userAPIClient, ICategoryService categoryService, ILanguageService languageService, IConfiguration configuration) : base(languageService, categoryService, configuration) { _userAPIClient = userAPIClient; }
public TimeRecordAPIClient(IRestClientFactory restClientFactory, IUserAPIClient userAPIClient, IHttpContextAccessor httpContextAccessor) { _restClientFactory = restClientFactory; _restClient = _restClientFactory.CreateClient(); _userAPIClient = userAPIClient; _httpContext = httpContextAccessor.HttpContext; _apiToken = GetToken(); }
/// <summary> /// The constructor of <see cref="EmployeeLoginSystemHandler"/> type handler. /// </summary> /// <param name="cacheUtility">The cache utility.</param> /// <param name="userAPIClient">The user API client.</param> /// <param name="baseURLoptions">The base URL options.</param> /// <param name="serviceToServiceAuthOptions">The service to service authentication options.</param> public EmployeeLoginSystemHandler(ICacheUtility cacheUtility, IUserAPIClient userAPIClient, IOptions <BaseURLOptions> baseURLoptions, IOptions <ServiceToServiceAuthOptions> serviceToServiceAuthOptions) { CacheUtility = cacheUtility; UserAPIClient = userAPIClient; BaseURLOptions = baseURLoptions.Value; ServiceToServiceAuthOptions = serviceToServiceAuthOptions.Value; }
public CheckoutController(ILocationService locationService, IConfiguration configuration, IUserAPIClient userAPIClient, ICartService cartService, IOrderService orderService) : base(configuration) { _locationService = locationService; _orderService = orderService; _userAPIClient = userAPIClient; _cartService = cartService; }
public LoginController(IUserAPIClient userAPIClient, IConfiguration configuration, SignInManager <UserApp> signInManager, IEmailService emailService, ICartService cartService) { _userAPIClient = userAPIClient; _configuration = configuration; _signInManager = signInManager; _emailService = emailService; _cartService = cartService; }
public UserController(IUserAPIClient userAPIClient, IConfiguration configuration, SignInManager <UserApp> signInManager, IOrderService orderService, IEmailService emailService) : base(configuration) { _userAPIClient = userAPIClient; _configuration = configuration; _signInManager = signInManager; _emailService = emailService; _orderService = orderService; }
public AccountController(IUserAPIClient userAPIClient, IConfiguration configuration) : base(configuration) { _userAPIClient = userAPIClient; }
public LoginController(IUserAPIClient userAPIClient, IConfiguration configuration) { _userAPIClient = userAPIClient; _configuration = configuration; }
public HomeController(IUserAPIClient userAPIClient) { _userAPIClient = userAPIClient; }