WordClockESP/lib/framework/SecuritySettingsService.h

24 lines
567 B
C
Raw Normal View History

2019-05-29 22:48:16 +00:00
#ifndef SecuritySettingsService_h
#define SecuritySettingsService_h
#include <SettingsService.h>
#include <SecurityManager.h>
#define SECURITY_SETTINGS_FILE "/config/securitySettings.json"
#define SECURITY_SETTINGS_PATH "/rest/securitySettings"
class SecuritySettingsService : public AdminSettingsService, public SecurityManager {
public:
2019-07-14 21:13:26 +00:00
SecuritySettingsService(FS* fs);
2019-05-29 22:48:16 +00:00
~SecuritySettingsService();
protected:
void readFromJsonObject(JsonObject& root);
void writeToJsonObject(JsonObject& root);
};
#endif // end SecuritySettingsService_h