Skip to content

Commit

Permalink
Add required namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
raman-m committed Oct 13, 2023
1 parent 5ea7861 commit 4c2b93e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Caching.Memory;
using Ocelot.Configuration;
using Ocelot.Logging;
using Ocelot.Middleware;
using System.Security.Claims;

namespace Ocelot.Authentication.Middleware
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using Microsoft.AspNetCore.Hosting;
using Newtonsoft.Json;
using Ocelot.Cache;
using Ocelot.Configuration.ChangeTracking;
using Ocelot.Configuration.File;
using Ocelot.Responses;
Expand All @@ -17,7 +18,7 @@ public class DiskFileConfigurationRepository : IFileConfigurationRepository
private const string ConfigurationFileName = "ocelot";

public DiskFileConfigurationRepository(IWebHostEnvironment hostingEnvironment,
IOcelotConfigurationChangeTokenSource changeTokenSource, Cache.IOcelotCache<FileConfiguration> cache)
IOcelotConfigurationChangeTokenSource changeTokenSource, IOcelotCache<FileConfiguration> cache)
{
_changeTokenSource = changeTokenSource;
_cache = cache;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Caching.Memory;
using Ocelot.Authentication.Middleware;
using Ocelot.Configuration;
using Ocelot.Configuration.Builder;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Caching.Memory;
using Newtonsoft.Json;
using Ocelot.Cache;
using Ocelot.Configuration.ChangeTracking;
using Ocelot.Configuration.File;
using Ocelot.Configuration.Repository;
Expand Down

0 comments on commit 4c2b93e

Please sign in to comment.