mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-22 06:22:50 +08:00
moved classes into seperate files
This commit is contained in:
parent
58dc7c93bc
commit
34cd2e1392
@ -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; }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
10
src/Ocelot/Configuration/File/FileIdentityServerConfig.cs
Normal file
10
src/Ocelot/Configuration/File/FileIdentityServerConfig.cs
Normal 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; }
|
||||||
|
}
|
||||||
|
}
|
9
src/Ocelot/Configuration/File/FileJwtConfig.cs
Normal file
9
src/Ocelot/Configuration/File/FileJwtConfig.cs
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
namespace Ocelot.Configuration.File
|
||||||
|
{
|
||||||
|
public class FileJwtConfig
|
||||||
|
{
|
||||||
|
public string Authority { get; set; }
|
||||||
|
|
||||||
|
public string Audience { get; set; }
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user