{"repo":"scottlamb/http-auth","free":true,"listed":false,"github":"https://github.com/scottlamb/http-auth","clone":"git clone https://github.com/scottlamb/http-auth.git","description":"Rust library for HTTP authentication. Parses challenge lists, responds to Basic and Digest challenges. Likely to be extended with server support and additional auth schemes.","language":"Rust","stars":11,"topics":["rust","http","authentication","digest"],"license":"Apache-2.0","category":"auth-billing-email","readme_excerpt":"Rust library for HTTP authentication. Parses challenge lists, responds to Basic and Digest challenges. Likely to be extended with server support and additional auth schemes. HTTP authentication is described in the following documents and specifications: MDN documentation. RFC 7235: Hypertext Transfer Protocol (HTTP/1.1): Authentication. RFC 7617: The 'Basic' HTTP Authentication Scheme RFC 7616: HTTP Digest Access Authentication This framework is primarily used with HTTP, as suggested by the name. It is also used by some other protocols such as RTSP. Status Well-tested, suitable for production. The API may change to improve ergonomics and functionality. New functionality is likely to be added. PRs welcome! Goals In order: 1. sound. Currently no unsafe blocks in http-auth itself. All dependencies are common, trusted crates. 2. correct. Precisely implements the specifications except where noted. Fuzz tests verify the hand-written parser never panics and matches a nom-based reference implementation. 3. light-weight. Minimal dependencies; uses Cargo features so callers can avoid them when undesired. Simple code that minimizes monomorphization bloat. Small data structures; eg http auth::DigestClient currently weighs in at 32 bytes plus one allocation for all string fields. 4. complete. Implements both parsing and responding to challenges. (Currently only supports the client side and responding to the most common Basic and Digest schemes; future expansion is likely.) 5. ergonomic. C","default_branch":null,"files":null,"tree":[],"storefront":"/r/scottlamb","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/scottlamb/http-auth/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}