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.4 to 5.0.5

8

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

@@ -28,7 +28,7 @@ "private": false,

"lab": "11.x.x",
"code": "3.x.x",
"hapi": "15.x.x"
"code": "4.x.x",
"hapi": "16.x.x"
},
"peerDependencies": {
"hapi": ">14.x.x"
"hapi": ">15.x.x"
},

@@ -35,0 +35,0 @@ "engines": {

@@ -62,3 +62,3 @@ [![Build Status](https://travis-ci.org/Salesflare/hapi-auth-bearer-simple.svg?branch=master)](https://travis-ci.org/Salesflare/hapi-auth-bearer-simple) ![](https://david-dm.org/salesflare/hapi-auth-bearer-simple.svg) ![](https://david-dm.org/salesflare/hapi-auth-bearer-simple/dev-status.svg) ![](https://david-dm.org/salesflare/hapi-auth-bearer-simple/peer-status.svg)

- `validateFunc` - (required) a token lookup and validation function with the signature `function (token, callback)`
- `validateFunction` - (required) a token lookup and validation function with the signature `function (token, callback)`
- `token` - the auth token received from the client.

@@ -65,0 +65,0 @@ - `callback` - a callback function with the signature `function (err, isValid, credentials)` where:

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