account
Version:
Provide a skeleton interface for user account login, registration, serialization, and deserialization
25 lines (16 loc) • 746 B
Markdown
# Account
Provide a skeleton interface for user account registration and login
[](https://travis-ci.org/nisaacson/account)
[](https://david-dm.org/nisaacson/account)
# Installation
```bash
npm install -S accounts
```
# Usage
The accounts module is an just an interface that is intended to be implemented by modules with specific backend code. See the [account-couch](https://github.com/nisaacson/account-couch) module for an example
All interfaces must implement all methods in index.js. These methods are as follows
* `login`
* `register`
* `serializeUser`
* `deserializeUser`
* `removeUser`