Malt.io (OAuth2) authentication strategy for Passport.js
This module lets you authenticate using Malt.io in your Node.js applications. By plugging into Passport, Malt.io authentication can be easily and unobtrusively integrated into any application or framework that supports Connect-style middleware, including Express.
$ npm install passport-maltio
The Malt.io OAuth 2.0 authentication strategy authenticates users using a Malt.io
account and OAuth 2.0 tokens. The strategy requires a
verify callback, which
accepts these credentials and calls
done providing a user, as well as
options specifying a client ID, client secret, and callback URL.
var MaltioStrategy = ;passport;
passport.authenticate(), specifying the
'maltio' strategy, to
For example, as route middleware in an Express application:
Now, to log in a user
For a complete, working example, refer to the example directory.
Copyright (c) 2013 Daniel G. Taylor