deepstream-passport
Notice!
This project is no longer supported. My other module use-express-middleware
covers this use case.
Install:
npm install deepstream-passport --save
Usage:
const server = // You can define this somewhere in your app and then import it both// for express and deepstream.// If you use a store such as redis for you sessions, you'll be able// to run express and deepstream in two seperate processes and/or on// two seperate ports if you so please.const session = // Basic:server // Custom `isValidUser`:server