Socket
Socket
Sign inDemoInstall

passport-dropbox-oauth2

Package Overview
Dependencies
9
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.6 to 1.0.0

5

lib/passport-dropbox-oauth2/strategy.js

@@ -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 @@

4

package.json
{
"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
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc