From 7d9ab3b87aed944167d77244b00fbdd4224725e2 Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Thu, 14 Nov 2024 14:30:42 +0200 Subject: Added support for SMS notifications on TS & X4. --- .../Visual_Studio/Web/Tango.MachineService/MachineServiceConfig.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Software/Visual_Studio/Web/Tango.MachineService/MachineServiceConfig.cs') diff --git a/Software/Visual_Studio/Web/Tango.MachineService/MachineServiceConfig.cs b/Software/Visual_Studio/Web/Tango.MachineService/MachineServiceConfig.cs index bdddbab8f..e8240fd46 100644 --- a/Software/Visual_Studio/Web/Tango.MachineService/MachineServiceConfig.cs +++ b/Software/Visual_Studio/Web/Tango.MachineService/MachineServiceConfig.cs @@ -25,5 +25,10 @@ namespace Tango.MachineService public static String FSE_TFS_USER_EMAIL => ConfigurationManager.AppSettings[nameof(FSE_TFS_USER_EMAIL)].ToString(); public static String SEND_GRID_API_KEY => ConfigurationManager.AppSettings[nameof(SEND_GRID_API_KEY)].ToString(); + + public static bool TWILIO_ENABLE_SMS => bool.Parse(ConfigurationManager.AppSettings[nameof(TWILIO_ENABLE_SMS)].ToString()); + public static String TWILIO_ACCOUNT_SID => ConfigurationManager.AppSettings[nameof(TWILIO_ACCOUNT_SID)].ToString(); + public static String TWILIO_AUTH_TOKEN => ConfigurationManager.AppSettings[nameof(TWILIO_AUTH_TOKEN)].ToString(); + public static String TWILIO_FROM_NUMBER => ConfigurationManager.AppSettings[nameof(TWILIO_FROM_NUMBER)].ToString(); } } \ No newline at end of file -- cgit v1.3.1