node package manager
Love JavaScript? Your insights can make it even better. Take the 2017 JavaScript Ecosystem Survey »

feathers-legacy-authentication-hooks

feathers-legacy-authentication-hooks

Build Status Code Climate Test Coverage Dependency Status Download Status

Hooks from feathers-authentication@0.7.x

Installation

npm install feathers-legacy-authentication-hooks --save

Documentation

The following hooks are included in this module:

  • associateCurrentUser
  • hashPassword
  • populateUser
  • queryWithCurrentUser
  • restrictToAuthenticated
  • restrictToOwner
  • restrictToRoles
  • verifyToken
  • verifyOrRestrict
  • populateOrRestrict
  • hasRoleOrRestrict

These hooks were previously bundled with the feathers-authentication module, but have been deprecated in favor of the feathers-permissions hooks.

Please refer to the documentation for more details.

License

Copyright (c) 2016

Licensed under the MIT license.