UserStore API Wrapper for Node.js
UserStore ia a hosted user authentication and management service. Easy to integrate so you can start registering and managing users in less than an hour.
Installation
npm install userstore
Documentation
Documentation is available at https://www.userstore.io/docs.
API Overview
Every resource is accessed via your userstore
instance:
var userstore = ' your secret key ';// userstore.{ RESOURCE_NAME }.{ METHOD_NAME }
Every resource method accepts a callback as the last argument:
userstoreusers;
Available resources and methods
Where you see data
or options
it is a plain JavaScript object, e.g. { email: 'user@example.com' }
auth
signIn(signInId, password, callback)
signOut(id, callback)
forgotPassword(email, options, callback)
resetPassword(code, password, callback)
verify(code, callback)
confirm(id, password, callback)
users
create(options, data, callback)
get(id, options, callback)
list(options, callback)
update(options, data, callback)
delete(id, callback)
tokens
get(id, callback)