passport-weixin-app
Advanced tools
Comparing version 0.0.3 to 0.0.5
@@ -1,6 +0,9 @@ | ||
var OAuth2Strategy = require('passport-oauth2') | ||
var OAuth2Strategy = require('passport-oauth2'), | ||
url = require('url') | ||
, util = require('util') | ||
, utils = require('passport-oauth2/lib/utils') | ||
, AuthorizationError = require('passport-oauth2/lib/errors/authorizationerror') | ||
, request = require('superagent') | ||
, Profile = require('./profile') | ||
, InternalOAuthError = require('passport-oauth2').InternalOAuthError; | ||
; | ||
@@ -96,3 +99,3 @@ function Strategy(options, verify) { | ||
Strategy.prototype.tokenParams = function(options){ | ||
Strategy.prototype.tokenParams = function (options) { | ||
options.appid = this._appid; | ||
@@ -99,0 +102,0 @@ options.secret = this._secret; |
{ | ||
"name": "passport-weixin-app", | ||
"version": "0.0.3", | ||
"version": "0.0.5", | ||
"description": "Weixin app authentication strategy for Passport.", | ||
@@ -5,0 +5,0 @@ "main": "./lib", |
3953
106