|
DeterministicESPAsyncWebServer v6.27.1
Zero-allocation, bounded-execution async HTTP server for ESP32
|
HTTP authentication for DetWebServer: Basic (RFC 7617) and stateless Digest (RFC 7616, SHA-256, qop=auth). More...
#include "dwserver.h"#include "network_drivers/presentation/base64/base64.h"#include "network_drivers/presentation/ssh/crypto/ssh_sha256.h"#include "network_drivers/transport/tcp.h"#include "server/dwserver_internal.h"#include "services/clock.h"#include "shared_primitives/hex.h"#include <stdio.h>#include <string.h>Go to the source code of this file.
HTTP authentication for DetWebServer: Basic (RFC 7617) and stateless Digest (RFC 7616, SHA-256, qop=auth).
Split out of dwserver.cpp (single-purpose server files). Holds the Basic credential check, the Digest field parser, the keyed stateless-nonce mint/verify (no per-nonce server state), and the 401 challenge builder. The route dispatcher (dwserver.cpp) calls these DetWebServer methods when a matched route carries auth. Behaviour is identical to the pre-split code.
Definition in file auth.cpp.