Bnet authentication strategy for Passport.
This is an Node.js Passport strategy for authenticating to Blizzard's Battle.net OAuth service. In order to use it you need to register an application at the Battle.net Developer Portal
$ npm install passport-bnet
var BnetStrategy = Strategy;var BNET_ID = processenvBNET_IDvar BNET_SECRET = processenvBNET_SECRET// Use the BnetStrategy within Passport.passport;