passport-rescuetime
Advanced tools
Comparing version 0.1.12 to 0.2.0
{ | ||
"name": "passport-rescuetime", | ||
"version": "0.1.12", | ||
"version": "0.2.0", | ||
"description": "GitHub authentication strategy for Passport.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -31,3 +31,3 @@ # Passport-RescueTime | ||
function(accessToken, refreshToken, profile, done) { | ||
User.findOrCreate({ rescuetimeId: profile.id }, function (err, user) { | ||
User.findOrCreate({ .. }, function (err, user) { | ||
return done(err, user); | ||
@@ -38,2 +38,5 @@ }); | ||
Note that the RescueTime does not return profile information so the profile argument | ||
will be empty. | ||
#### Authenticate Requests | ||
@@ -57,6 +60,2 @@ | ||
## Examples | ||
For a complete, working example, refer to the [login example](https://github.com/bencmbrook/passport-rescuetime/tree/master/examples/login). | ||
## Credits | ||
@@ -63,0 +62,0 @@ |
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
7071
68