passport-dropbox-oauth2
Advanced tools
Comparing version 0.1.6 to 1.0.0
@@ -86,2 +86,7 @@ /** | ||
profile.displayName = json.display_name; | ||
profile.name = { | ||
familyName: json.name_details.surname, | ||
givenName: json.name_details.given_name, | ||
middleName: '' | ||
}; | ||
profile.emails = [{ value: json.email }]; | ||
@@ -88,0 +93,0 @@ |
{ | ||
"name": "passport-dropbox-oauth2", | ||
"version": "0.1.6", | ||
"version": "1.0.0", | ||
"description": "Dropbox OAuth 2.0 authentication strategy for Passport.", | ||
@@ -33,3 +33,3 @@ "keywords": [ | ||
"dependencies": { | ||
"passport-oauth": "^0.1.15", | ||
"passport-oauth": "^1.0.0", | ||
"pkginfo": "^0.2.3" | ||
@@ -36,0 +36,0 @@ }, |
# Passport-Dropbox-OAuth2 | ||
[Passport](http://passportjs.org/) strategy for authenticating with [Dropbox](https://dropbox.com/) | ||
@@ -13,9 +12,7 @@ using the OAuth 2.0 API. | ||
## Install | ||
$ npm install passport-dropbox-oauth2 | ||
## Usage | ||
### Configure Strategy | ||
#### Configure Strategy | ||
The Dropbox authentication strategy authenticates users using a Dropbox account | ||
@@ -38,4 +35,3 @@ and OAuth 2.0 tokens. The strategy requires a `verify` callback, which accepts | ||
#### Authenticate Requests | ||
### Authenticate Requests | ||
Use `passport.authenticate()`, specifying the `'dropbox-oauth2'` strategy, to | ||
@@ -58,22 +54,14 @@ authenticate requests. | ||
## Examples | ||
Examples not yet provided | ||
## Tests | ||
Tests not yet provided | ||
## Credits | ||
## Prior work | ||
This strategy is based on Jared Hanson's GitHub strategy for passport: [Jared Hanson](http://github.com/jaredhanson) | ||
- [Florian Heinemann](http://twitter.com/florian__h/) | ||
## Credits and License | ||
express-sslify is licensed under the MIT license. If you'd like to be informed about new projects follow [@TheSumOfAll](http://twitter.com/TheSumOfAll/). | ||
This strategy is based on Jared Hanson's GitHub strategy for passport: | ||
- [Jared Hanson](http://github.com/jaredhanson) | ||
## License | ||
[The MIT License](http://opensource.org/licenses/MIT) | ||
Copyright (c) 2013-2014 Florian Heinemann [http://twitter.com/florian__h/](http://twitter.com/florian__h/) | ||
Copyright (c) 2013-2014 Florian Heinemann |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
7696
107
1
65
+ Addedbase64url@3.0.1(transitive)
+ Addedoauth@0.10.0(transitive)
+ Addedpassport-oauth@1.0.0(transitive)
+ Addedpassport-oauth1@1.3.0(transitive)
+ Addedpassport-oauth2@1.8.0(transitive)
+ Addedpassport-strategy@1.0.0(transitive)
+ Addeduid2@0.0.4(transitive)
+ Addedutils-merge@1.0.1(transitive)
- Removedpassport@0.1.18(transitive)
- Removedpassport-oauth@0.1.15(transitive)
- Removedpause@0.0.1(transitive)
Updatedpassport-oauth@^1.0.0