New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

create-express-auth-middleware

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-express-auth-middleware - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

package.json
{
"name": "create-express-auth-middleware",
"description": "Library to create Express JS authentication and authorization middlewares",
"version": "1.1.0",
"version": "1.1.1",
"main": "./dist/index.js",

@@ -6,0 +6,0 @@ "types": "./dist",

@@ -19,3 +19,3 @@ # create-express-auth-middleware

2. If an API call is made with a valid token, you can access the decoded token object from request
2. Create Express app with predicate based authentication and authorization middlewares
```js

@@ -26,3 +26,3 @@ const app = require("express")();

// Make all routes in this express app to be authentication protected.
// Meaning all routes defined later can only be called if a valid JWT is provided.
// Meaning all routes defined later can only be called if the request passes this predicate function
// This DOES NOT mean that routes are fully protected yet,

@@ -69,3 +69,3 @@ // as you need to ensure users have sufficient permission to access APIs using authorization middleware.

Integrations available
- [Firebase Auth](https://github.com/Enkel-Digital/firebase-auth-express-middleware/)
- [Firebase Auth](https://github.com/Enkel-Digital/firebase-authentication)

@@ -72,0 +72,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc