/
singlwolf
/
Radiola-2S3
Обзор
Документация
Войти
/
singlwolf
/
Radiola-2S3
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
lib/ESPAsyncWebServer/src/WebAuthentication.h
23 строки
785 B
SinglWolf
Public access
27 мар 2026, 07:00
27 мар 2026, 07:00
642fcfc
Код
Авторство
О чём код?
// SPDX-License-Identifier: LGPL-3.0-or-later // Copyright 2016-2025 Hristo Gochkov, Mathieu Carbou, Emil Muratov #ifndef WEB_AUTHENTICATION_H_ #define WEB_AUTHENTICATION_H_ #include "Arduino.h" bool checkBasicAuthentication(const char *header, const char *username, const char *password); bool checkDigestAuthentication( const char *header, const char *method, const char *username, const char *password, const char *realm, bool passwordIsHash, const char *nonce, const char *opaque, const char *uri ); // for storing hashed versions on the device that can be authenticated against String generateDigestHash(const char *username, const char *password, const char *realm); String generateBasicHash(const char *username, const char *password); String genRandomMD5(); #endif