passport-zengine
Advanced tools
Comparing version 0.1.1 to 0.1.3
{ | ||
"name": "passport-zengine", | ||
"version": "0.1.1", | ||
"main": "./passport-zengine.js", | ||
"description": "Zengine (OAuth2) authentication strategies for Passport.", | ||
"keywords": ["passport", "zengine", "auth", "authn", "authentication", "identity"], | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/ZengineHQ/passport-zengine.git" | ||
}, | ||
"bugs": { | ||
"url": "http://github.com/ZengineHQ/passport-zengine/issues" | ||
}, | ||
"author": { | ||
"name": "Anthony Putignano", | ||
"email": "anthony@zenginehq.com", | ||
"url": "http://about.me/anthony.putignano" | ||
}, | ||
"licenses": [ | ||
{ | ||
"type": "MIT", | ||
"url": "http://opensource.org/licenses/MIT" | ||
} | ||
], | ||
"dependencies": { | ||
"pkginfo": "0.2.x", | ||
"passport-oauth": "1.0.0" | ||
}, | ||
"engines": { "node": ">= 0.4.0" } | ||
"name": "passport-zengine", | ||
"version": "0.1.3", | ||
"main": "./passport-zengine.js", | ||
"description": "Zengine (OAuth2) authentication strategies for Passport.", | ||
"keywords": [ | ||
"passport", | ||
"zengine", | ||
"auth", | ||
"authn", | ||
"authentication", | ||
"identity" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/ZengineHQ/passport-zengine.git" | ||
}, | ||
"bugs": { | ||
"url": "http://github.com/ZengineHQ/passport-zengine/issues" | ||
}, | ||
"author": { | ||
"name": "Anthony Putignano", | ||
"email": "anthony@zenginehq.com", | ||
"url": "http://about.me/anthony.putignano" | ||
}, | ||
"licenses": [ | ||
{ | ||
"type": "MIT", | ||
"url": "http://opensource.org/licenses/MIT" | ||
} | ||
], | ||
"dependencies": { | ||
"pkginfo": "0.2.x", | ||
"passport-oauth": "1.0.0" | ||
}, | ||
"engines": { | ||
"node": ">= 0.4.0" | ||
} | ||
} | ||
@@ -48,3 +48,3 @@ /** | ||
options.tokenURL = options.tokenURL || 'https://auth.zenginehq.com/oauth2/v1/grant'; | ||
if (options.profileURL) { | ||
@@ -86,5 +86,10 @@ profileURL = options.profileURL; | ||
var profile = { provider: 'zengine' }; | ||
profile.id = json.data.id; | ||
profile.displayName = json.data.displayName; | ||
profile.emails = [{ value: json.data.email }]; | ||
profile.settings = { | ||
timezone: json.data.settings.timezone, | ||
dateFormat: json.data.settings.dateFormat | ||
}; | ||
@@ -91,0 +96,0 @@ profile._raw = body.data; |
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
5290
101