Expand description
The server side of digest authentication (RFC 7616, RFC 8760).
crate::auth answers a challenge. This issues one, and checks what comes back — the same
formulas from the other end, which is why they are not written a second time here.
Scope is the primitives. Which credential a username maps to, and what to do about a failure, belong to whoever is authenticating: a credential store is not this crate’s business. So verification takes the password as an argument and returns a verdict, and the caller decides everything around it.
Structs§
- Authenticator
- A server that issues digest challenges and checks the answers.
- Presented
- What a request presented in its
AuthorizationorProxy-Authorization.
Enums§
Constants§
- DEFAULT_
LIFETIME - How long a nonce is good for by default.