loopback-component-oauth2
Advanced tools
Comparing version 2.3.1 to 2.3.2
@@ -0,1 +1,7 @@ | ||
2015-06-23, Version 2.3.2 | ||
========================= | ||
* Pass req to checkAccessToken (Raymond Feng) | ||
2015-06-18, Version 2.3.1 | ||
@@ -2,0 +8,0 @@ ========================= |
@@ -28,3 +28,3 @@ var async = require('async') | ||
function checkAccessToken(accessToken, done) { | ||
function checkAccessToken(req, accessToken, done) { | ||
debug('Verifying access token %s', accessToken); | ||
@@ -100,3 +100,3 @@ models.accessTokens.find(accessToken, function(err, token) { | ||
function accessTokenValidator(req, accessToken, done) { | ||
verifyAccessToken(accessToken, function(err, user, info) { | ||
verifyAccessToken(req, accessToken, function(err, user, info) { | ||
if(!err && info) { | ||
@@ -103,0 +103,0 @@ req.accessToken = info.accessToken; |
{ | ||
"name": "loopback-component-oauth2", | ||
"version": "2.3.1", | ||
"version": "2.3.2", | ||
"description": "OAuth 2.0 provider for LoopBack", | ||
@@ -51,3 +51,3 @@ "keywords": [ | ||
"optionalDependencies": { | ||
"sl-blip": "http://blip.strongloop.com/loopback-component-oauth2@2.3.1" | ||
"sl-blip": "http://blip.strongloop.com/loopback-component-oauth2@2.3.2" | ||
}, | ||
@@ -54,0 +54,0 @@ "engines": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
460335