rust-cookbook
rust-cookbook copied to clipboard
Recipe Series: Web Authentication
Crates | reqwest |
Section | 17.4.3 Web Authentication |
A new series for Web Authentication should be created. This series needs 3 recipes for the following types of authentication:
- [ ] Basic Authentication
- [ ] Digest Authentication (On Hold until https://github.com/hyperium/headers imported)
- [ ] Authentication for HTTPS request
A good option for demonstrating authentication is httpbin.org
Also server-side auth: user registration (i.e. how to properly store and hash sensitive information), login/logout (client vs server sessions etc.), confirmation emails, the various different token based authentication methods and protocols, multifactor (e.g. U2F), email-only auth, securing APIs and endpoints etc.