remove unused comments

This commit is contained in:
Proddy
2024-02-10 15:43:59 +01:00
parent 52479c408f
commit 303e86a5eb
7 changed files with 0 additions and 12 deletions

View File

@@ -10,7 +10,6 @@
#include <SecurityManager.h>
#include <APSettingsService.h>
// #define MAX_AP_STATUS_SIZE 1024
#define AP_STATUS_SERVICE_PATH "/rest/apStatus"
class APStatus {

View File

@@ -57,7 +57,6 @@ class HttpEndpoint {
request->send(400); // error
return;
} else if (outcome == StateUpdateResult::CHANGED_RESTART) {
// TODO check if works
request->send(205); // reboot required
return;
} else if (outcome == StateUpdateResult::CHANGED) {

View File

@@ -7,7 +7,6 @@
#include <ESPAsyncWebServer.h>
#include <SecurityManager.h>
// #define MAX_MQTT_STATUS_SIZE 1024
#define MQTT_STATUS_SERVICE_PATH "/rest/mqttStatus"
class MqttStatus {

View File

@@ -11,7 +11,6 @@
#include <SecurityManager.h>
#include <uuid/common.h>
// #define MAX_NTP_STATUS_SIZE 1024
#define NTP_STATUS_SERVICE_PATH "/rest/ntpStatus"
class NTPStatus {

View File

@@ -18,8 +18,6 @@
#define AUTHORIZATION_HEADER_PREFIX "Bearer "
#define AUTHORIZATION_HEADER_PREFIX_LEN 7
// #define MAX_JWT_SIZE 128
class User {
public:
String username;
@@ -70,7 +68,6 @@ class AuthenticationPredicates {
class SecurityManager {
public:
#if FT_ENABLED(FT_SECURITY)
/*
* Authenticate, returning the user if found
*/
@@ -81,8 +78,6 @@ class SecurityManager {
*/
virtual String generateJWT(User * user) = 0;
#endif
/*
* Check the request header for the Authorization token
*/

View File

@@ -10,7 +10,6 @@
#include <ESPAsyncWebServer.h>
#include <SecurityManager.h>
// #define MAX_ESP_STATUS_SIZE 1024
#define SYSTEM_STATUS_SERVICE_PATH "/rest/systemStatus"
class SystemStatus {

View File

@@ -11,8 +11,6 @@
#define SCAN_NETWORKS_SERVICE_PATH "/rest/scanNetworks"
#define LIST_NETWORKS_SERVICE_PATH "/rest/listNetworks"
// #define MAX_WIFI_SCANNER_SIZE 1024
class WiFiScanner {
public:
WiFiScanner(AsyncWebServer * server, SecurityManager * securityManager);