1.0.1 • Published 8 years ago

apier-authenticator v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

apier-authenticator Build Status

Part of the apier framework

Checks if the user making a request is authenticated.
It takes the token, found in req.requestData.token (placed there by apier-dataParser)
checks if that token corresponds to a valid session and loads the user that logged in and was assigned that token.

It is mainly used by apier-permissioner

Installation

Download node at nodejs.org and install it, if you haven't already.

npm install apier-authenticator --save

Dependencies

  • es6-promise: A lightweight library that provides tools for organizing asynchronous code
  • reqlog: A simple Node.js logger. Very closely attached to a request.

Dev Dependencies

License

MIT

Generated by package-json-to-readme