diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2020-02-12 18:26:56 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2020-02-12 18:26:56 +0200 |
| commit | d17cd66d675ec9de79c8a12b57d75079dba62eee (patch) | |
| tree | e11d193c7843db8d200eae4e9bbe329723bc26fa /Software/Visual_Studio/Web/Tango.MachineService.Gateway/MachineServiceGatewayConfig.cs | |
| parent | 18477c8dc7e7971f2cfb08d0e11ca483944f79f2 (diff) | |
| download | Tango-d17cd66d675ec9de79c8a12b57d75079dba62eee.tar.gz Tango-d17cd66d675ec9de79c8a12b57d75079dba62eee.zip | |
Gateway
Diffstat (limited to 'Software/Visual_Studio/Web/Tango.MachineService.Gateway/MachineServiceGatewayConfig.cs')
| -rw-r--r-- | Software/Visual_Studio/Web/Tango.MachineService.Gateway/MachineServiceGatewayConfig.cs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Web/Tango.MachineService.Gateway/MachineServiceGatewayConfig.cs b/Software/Visual_Studio/Web/Tango.MachineService.Gateway/MachineServiceGatewayConfig.cs new file mode 100644 index 000000000..3a91ef181 --- /dev/null +++ b/Software/Visual_Studio/Web/Tango.MachineService.Gateway/MachineServiceGatewayConfig.cs @@ -0,0 +1,19 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Linq; +using System.Web; +using Tango.Web; + +namespace Tango.MachineService.Gateway +{ + public class MachineServiceGatewayConfig + { + public static String JWT_TOKEN_SECRET => ConfigurationManager.AppSettings[nameof(JWT_TOKEN_SECRET)].ToString(); + public static String AZURE_UTILS_GROUP => ConfigurationManager.AppSettings[nameof(AZURE_UTILS_GROUP)].ToString(); + public static String TENANT_ID => ConfigurationManager.AppSettings[nameof(TENANT_ID)].ToString(); + public static String CLIENT_ID => ConfigurationManager.AppSettings[nameof(CLIENT_ID)].ToString(); + public static String CLIENT_SECRET => ConfigurationManager.AppSettings[nameof(CLIENT_SECRET)].ToString(); + public static String SUBSCRIPTION_ID => ConfigurationManager.AppSettings[nameof(SUBSCRIPTION_ID)].ToString(); + } +}
\ No newline at end of file |
