diff --git a/src/Ocelot/Configuration/File/FileAuthenticationOptions.cs b/src/Ocelot/Configuration/File/FileAuthenticationOptions.cs index 31be2307..6333993d 100644 --- a/src/Ocelot/Configuration/File/FileAuthenticationOptions.cs +++ b/src/Ocelot/Configuration/File/FileAuthenticationOptions.cs @@ -16,19 +16,4 @@ namespace Ocelot.Configuration.File public FileIdentityServerConfig IdentityServerConfig { get; set; } public FileJwtConfig JwtConfig { get; set; } } - - public class FileIdentityServerConfig - { - public string ProviderRootUrl { get; set; } - public string ApiName { get; set; } - public bool RequireHttps { get; set; } - public string ApiSecret { get; set; } - } - - public class FileJwtConfig - { - public string Authority { get; set; } - - public string Audience { get; set; } - } } diff --git a/src/Ocelot/Configuration/File/FileIdentityServerConfig.cs b/src/Ocelot/Configuration/File/FileIdentityServerConfig.cs new file mode 100644 index 00000000..dfc023b2 --- /dev/null +++ b/src/Ocelot/Configuration/File/FileIdentityServerConfig.cs @@ -0,0 +1,10 @@ +namespace Ocelot.Configuration.File +{ + public class FileIdentityServerConfig + { + public string ProviderRootUrl { get; set; } + public string ApiName { get; set; } + public bool RequireHttps { get; set; } + public string ApiSecret { get; set; } + } +} \ No newline at end of file diff --git a/src/Ocelot/Configuration/File/FileJwtConfig.cs b/src/Ocelot/Configuration/File/FileJwtConfig.cs new file mode 100644 index 00000000..a24522fc --- /dev/null +++ b/src/Ocelot/Configuration/File/FileJwtConfig.cs @@ -0,0 +1,9 @@ +namespace Ocelot.Configuration.File +{ + public class FileJwtConfig + { + public string Authority { get; set; } + + public string Audience { get; set; } + } +} \ No newline at end of file