multicolour-hapi-jwt
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "multicolour-hapi-jwt", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "JWT Auth plugin for HapiJS Multicolour", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# multicolour-auth-jwt | ||
JWT Auth plugin for Multicolour | ||
JWT Auth plugin for HapiJS & Multicolour. | ||
Get started by adding `my_service.use(require("multicolour-hapi-jwt"))` to your `app.js`. | ||
You'll need `multicolour_user`s before you can authorise anyone to use your API. | ||
## Logging in | ||
Posting to the `/session` endpoint will create your session. | ||
```bash | ||
curl -X POST http://localhost:1811/session -d '{"email": "hello@newworld.codes","password":"password"}' -H "Accept:application/json" | ||
``` |
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
12615
13
16