Fork of the excellent esp8266-react - https://github.com/rjwats/esp8266-react
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
583 B

  1. #ifndef SecuritySettingsService_h
  2. #define SecuritySettingsService_h
  3. #include <AdminSettingsService.h>
  4. #include <SecurityManager.h>
  5. #define SECURITY_SETTINGS_FILE "/config/securitySettings.json"
  6. #define SECURITY_SETTINGS_PATH "/rest/securitySettings"
  7. class SecuritySettingsService : public AdminSettingsService, public SecurityManager {
  8. public:
  9. SecuritySettingsService(AsyncWebServer* server, FS* fs);
  10. ~SecuritySettingsService();
  11. protected:
  12. void readFromJsonObject(JsonObject& root);
  13. void writeToJsonObject(JsonObject& root);
  14. };
  15. #endif // end SecuritySettingsService_h