Mongoose based backend store to manage users
MIT License
WARNING - THIS WILL BE REFACTORED (AUG 2014) - USE AT YOUR OWN RISK FOR NOW.
A bunch of mongoose schemas to implement user management in multi tenant scenarios.
Each document in the database has a _tenantId. This _tenantId (formerly accountId) can be a fixed ObjectId in single tenant scenarios.
You should not have to work with the schemas directly, instead we expose methods that encapsulate the most common use cases.
and additionally
Copyright (c) 2012 - 2014 Martin Wawrusch See LICENSE for further details.