UNPKG

hapi-auth-bearer-token

Version:

Simple Bearer authentication scheme plugin for hapi, accepts token by Header, Cookie or Query parameter.

52 lines (51 loc) 1.24 kB
{ "name": "hapi-auth-bearer-token", "description": "Simple Bearer authentication scheme plugin for hapi, accepts token by Header, Cookie or Query parameter.", "version": "8.0.0", "author": "John Brett <johnbrett7@gmail.com> (https://johnbrett.me)", "repository": { "type": "git", "url": "git://github.com/johnbrett/hapi-auth-bearer-token" }, "main": "lib/index.js", "keywords": [ "hapi", "plugin", "auth", "scheme", "bearer", "token", "cookie", "authentication" ], "engines": { "node": ">=8.0.0" }, "dependencies": { "@hapi/hoek": "^9.0.0" }, "peerDependencies": { "@hapi/boom": ">=7.x.x", "@hapi/hapi": ">=19.x.x", "joi": ">=17.x.x" }, "devDependencies": { "@hapi/boom": "^9.1.0", "@hapi/code": "^8.0.0", "@hapi/hapi": "^20.0.0", "@hapi/lab": "^23.0.0", "joi": "^17.2.1" }, "scripts": { "test": "lab -a @hapi/code -t 100 -L", "test-cov-html": "lab -a @hapi/code -r html -o coverage.html" }, "bugs": { "url": "https://github.com/johnbrett/hapi-auth-bearer-token/issues" }, "homepage": "https://github.com/johnbrett/hapi-auth-bearer-token", "directories": { "test": "test" }, "license": "MIT" }