Security & Authentication APIs
Explore and learn about 5 JavaScript APIs in the Security & Authentication category.
Credential Management API
Enables websites to interact with user credentials for authentication, supporting password, federated identity, one-time passwords (OTP), and Web Authentication methods.
Permissions
Query and manage permission states for various browser APIs and features, providing a consistent way to check if an API is allowed, blocked, or requires prompting.
Trusted Types API
The Trusted Types API helps prevent cross-site scripting (XSS) attacks by providing a secure way to create and validate strings that could contain executable code before inserting them into DOM sinks that can execute JavaScript.
Web Authentication
Implement strong, passwordless authentication in web applications with the Web Authentication API. Learn to use biometrics, security keys, and platform authenticators.
Web Crypto
Perform cryptographic operations in web applications with the Web Crypto API. Learn to encrypt data, generate keys, and verify signatures.