Skip to content

Knorcedger/apier-authenticator

Repository files navigation

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

About

Finds the user by the request data token.

Resources

License

Stars

Watchers

Forks

Packages

No packages published