Last active
February 17, 2018 19:06
-
-
Save ImreC/abb691e720d1e47be405ff2896206f9a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Initializes the `authmanagement` service on path `/authmanagement` | |
const authManagement = require('feathers-authentication-management'); | |
const hooks = require('./authmanagement.hooks'); | |
const notifier = require('./notifier'); | |
module.exports = function (app) { | |
// Initialize our service with any options it requires | |
app.configure(authManagement(notifier(app))); | |
// Get our initialized service so that we can register hooks and filters | |
const service = app.service('authManagement'); | |
service.hooks(hooks); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment