DeterministicESPAsyncWebServer v6.27.1
Zero-allocation, bounded-execution async HTTP server for ESP32
Loading...
Searching...
No Matches
auth.cpp File Reference

HTTP authentication for DetWebServer: Basic (RFC 7617) and stateless Digest (RFC 7616, SHA-256, qop=auth). More...

Go to the source code of this file.

Detailed Description

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.