Authentication

The process of confirming identities.

Basic Authentication

RecipeCratesCategories
Perform a Basic HTTP Authenticationreqwestcat-authentication cat-network-programming
TopicRust CratesNotes
Password Hashingbcrypt, argon2, scryptHashing
JWT (JSON Web Tokens)jsonwebtoken
OAuth 2.0oauth2
Web AuthenticationOften tied to web frameworks like actix-web, warp, etc. No single dominant crate.See Web Programming and Web Programming HTTP Server.
Cryptographic Primitivesring, rust-crypto (often abstracted by higher-level crates).See Encryption, Signatures, Certificates and Cryptography Utilities

References

The Copenhagen Book provides a general guideline on implementing Auth in web applications.