Socket
Socket
Sign inDemoInstall

express-basic-auth

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-basic-auth - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"name": "express-basic-auth",
"version": "0.1.0",
"version": "0.1.1",
"description": "Plug & play basic auth middleware for express",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -28,3 +28,3 @@ # express-basic-auth

# Static Users
### Static Users

@@ -45,3 +45,3 @@ If you simply want to check basic auth against one or multiple static credentials,

# Custom authorization
### Custom authorization

@@ -62,3 +62,3 @@ Alternatively, you can pass your own `authorizer` function, to check the credentials

# Custom Async Authorization
### Custom Async Authorization

@@ -84,3 +84,3 @@ Note that the `authorizer` function above is expected to be synchronous. This is

# Challenge
### Challenge

@@ -114,2 +114,2 @@ Per default the middleware will not add a `WWW-Authenticate` challenge header to

- Maybe add some optional callback to be called for unauthorized requests (for security logging)
- Decide wha should be included in `1.0.0`
- Decide what should be included in `1.0.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