Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hapi-auth-bearer-simple

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hapi-auth-bearer-simple - npm Package Compare versions

Comparing version 5.0.1 to 5.0.2

10

lib/index.js

@@ -15,3 +15,3 @@ 'use strict';

if (err) {
return reply(err, null, { credentials: credentials });
return reply(err, null, { credentials });
}

@@ -21,5 +21,5 @@

return reply(Boom.unauthorized(null, 'bearerAuth', {
isValid: isValid,
credentials: credentials
}), null, { credentials: credentials });
isValid,
credentials
}), null, { credentials });
}

@@ -36,3 +36,3 @@

return reply.continue({
credentials: credentials
credentials
});

@@ -39,0 +39,0 @@ };

{
"name": "hapi-auth-bearer-simple",
"description": "Custom authentication plugin for Hapi using Bearer tokens",
"version": "5.0.1",
"version": "5.0.2",
"author": "Adri Van Houdt <adri@salesflare.com>",

@@ -27,3 +27,3 @@ "private": false,

"devDependencies": {
"lab": "10.x.x",
"lab": "11.x.x",
"code": "3.x.x",

@@ -30,0 +30,0 @@ "hapi": "14.x.x"

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