public AbpClientCore(HttpClient httpClient) { _httpClient = httpClient; _httpClient.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json")); _accessTokenContext = new AccessTokenContext(); _appContext = new AppContext(); }
public InitialisationHandler(IFilmContext filmRepo, ReviewFilter reviewRepo, CommentFilter commentRepo, ShowingService showRepo, ICustomerContext userRepo, IAdminContext adminRepo, IAccessTokenContext accessTokenContext, AccountCreationService accountCreationService, ExistingUserService existingUserService) { _filmRepo = filmRepo; _reviewHandler = reviewRepo; _commentRepo = commentRepo; _showRepo = showRepo; _userRepo = userRepo; _adminRepo = adminRepo; _accessTokenContext = accessTokenContext; _existingUserService = existingUserService; _accountCreationService = accountCreationService; }
public SecurityService(IAccessTokenContext accessTokenContext) { _accessTokenContext = accessTokenContext; }