clean up standalone

This commit is contained in:
Proddy
2024-02-14 10:53:53 +01:00
parent ce3c3e0b3e
commit 34b7dd61cf
21 changed files with 53 additions and 57 deletions

View File

@@ -1,18 +1,15 @@
#ifndef SecurityManager_h
#define SecurityManager_h
#include <Arduino.h>
#include <Features.h>
#include <ESPAsyncWebServer.h>
#include <AsyncJson.h>
#include "Arduino.h"
#include "Features.h"
#include "ESPAsyncWebServer.h"
#include "AsyncJson.h"
#include <list>
#ifndef FACTORY_JWT_SECRET
#define FACTORY_JWT_SECRET ESPUtils::defaultDeviceValue()
#endif
#define FACTORY_JWT_SECRET "ems-esp"
#define ACCESS_TOKEN_PARAMATER "access_token"
#define AUTHORIZATION_HEADER "Authorization"
#define AUTHORIZATION_HEADER_PREFIX "Bearer "
#define AUTHORIZATION_HEADER_PREFIX_LEN 7