moved classes into seperate files

This commit is contained in:
TomPallister 2017-07-04 19:18:08 +01:00
parent 58dc7c93bc
commit 34cd2e1392
3 changed files with 19 additions and 15 deletions

View File

@ -16,19 +16,4 @@ namespace Ocelot.Configuration.File
public FileIdentityServerConfig IdentityServerConfig { get; set; } public FileIdentityServerConfig IdentityServerConfig { get; set; }
public FileJwtConfig JwtConfig { 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; }
}
} }

View File

@ -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; }
}
}

View File

@ -0,0 +1,9 @@
namespace Ocelot.Configuration.File
{
public class FileJwtConfig
{
public string Authority { get; set; }
public string Audience { get; set; }
}
}