text: 
  /*
   * Module dependencies
   */
  
  var passport = require('passport');
      // TwitterStrategy = require('passport-twitter').Strategy,
      // FacebookStrategy = require('passport-facebook').Strategy,
      // DoubanStrategy = require('passport-douban').Strategy
  
  /**
   * Expose Authentication Strategy
   */
  
  module.exports = Strategy;
  
  /*
   * Defines Passport authentication
   * strategies from application configs
   *
   * @param {Express} app `Express` instance.
   * @api public
   */
  
   function Strategy (app) {
      // var config = app.get('config');
  
      // passport.serializeUser(function(user, done) {
      //     done(null, user);
      // });
  
      // passport.deserializeUser(function(user, done) {
      //     done(null, user);
      // });
  
      // if(config.auth.twitter.consumerkey.length) {
      //     passport.use(new TwitterStrategy({
      //         consumerKey: config.auth.twitter.consumerkey,
      //         consumerSecret: config.auth.twitter.consumersecret,
      //         callbackURL: config.auth.twitter.callback
      //     },
      //     function(token, tokenSecret, profile, done) {
      //         return done(null, profile);
      //     }
      //     ));
      // } 
  
      // if(config.auth.facebook.clientid.length) {
      //     passport.use(new FacebookStrategy({
      //         clientID: config.auth.facebook.clientid,
      //         clientSecret: config.auth.facebook.clientsecret,
      //         callbackURL: config.auth.facebook.callback
      //     },
      //     function(accessToken, refreshToken, profile, done) {
      //         console.log(profile)
      //         return done(null, profile);
      //     }
      //     ));
      // }
  
      // if(config.auth.douban.clientid.length) {
      //     passport.use(new DoubanStrategy({
      //         clientID: config.auth.douban.clientid,
      //         clientSecret: config.auth.douban.clientsecret,
      //         callbackURL: config.auth.douban.callback
      //     },
      //     function(accessToken, refreshToken, profile, done) {
      //         return done(null, profile);
      //     }
      //     ));
      // }
  }
  
  