New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

oniyi-http-plugin-credentials

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oniyi-http-plugin-credentials - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

11

lib/index.js

@@ -102,3 +102,5 @@ 'use strict';

user[options.userRelationProp]({
provider: options.providerName,
where: {
provider: options.providerName,
},
}, (credentialsErr, results) => {

@@ -148,2 +150,4 @@ if (credentialsErr) {

logger.debug('updated user identity', updatedIdentity);
// pass newCredentials to makeAuthParams and merge return value with the modified request parameters

@@ -160,3 +164,5 @@ // explicitly using "merge" here to allow partial updates of nested object literals

});
return null;
});
return null;
});

@@ -179,4 +185,7 @@ }

});
return null;
});
return null;
});
return null;
},

@@ -183,0 +192,0 @@ };

18

package.json
{
"name": "oniyi-http-plugin-credentials",
"version": "0.0.1",
"version": "0.0.2",
"description": "A plugin for oniyi-http-client for automatic attachment of user credentials",

@@ -26,16 +26,16 @@ "homepage": "",

"dependencies": {
"lodash": "4.5.1",
"oniyi-logger": "0.3.1",
"passport": "0.3.2"
"lodash": "^4.10.0",
"oniyi-logger": "^0.4.2",
"passport": "^0.3.2"
},
"devDependencies": {
"eslint": "^1.10.3",
"eslint-config-oniyi": "^1.1.2",
"eslint": "^2.7.0",
"eslint-config-oniyi": "^2.0.2",
"gulp": "^3.9.1",
"gulp-eslint": "^1.0.0",
"gulp-eslint": "^2.0.0",
"gulp-exclude-gitignore": "^1.0.0",
"gulp-istanbul": "^0.10.3",
"gulp-istanbul": "^0.10.4",
"gulp-mocha": "^2.2.0",
"gulp-plumber": "^1.1.0",
"gulp-nsp": "^2.3.0",
"gulp-nsp": "^2.4.0",
"gulp-coveralls": "^0.1.4"

@@ -42,0 +42,0 @@ },

# oniyi-http-plugin-credentials [![NPM version][npm-image]][npm-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage percentage][coveralls-image]][coveralls-url]
> A plugin for oniyi-http-client for automatic attachment of user credentials
This plugin is designed to work with the [third-party login component](https://docs.strongloop.com/pages/releaseview.action?pageId=3836277) [loopback](https://docs.strongloop.com/display/public/LB/LoopBack) framework.
This plugin is designed to work with the [third-party login component](https://docs.strongloop.com/pages/releaseview.action?pageId=3836277) of [loopback](https://docs.strongloop.com/display/public/LB/LoopBack).
The [third-party login component](https://docs.strongloop.com/pages/releaseview.action?pageId=3836277) is heavily based on [passportjs](http://passportjs.org/).

@@ -6,0 +6,0 @@ To make things work more broadly, I also wrote a [loopback](https://docs.strongloop.com/display/public/LB/LoopBack) extension to allow the usage of custom auth schemes [oniyi-loopback-passport-custom-schemes](https://github.com/benkroeger/oniyi-loopback-passport-custom-schemes).

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc