hapi-auth-bearer-simple
Advanced tools
Comparing version 5.0.4 to 5.0.5
{ | ||
"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: |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26666