Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

loopback-component-oauth2

Package Overview
Dependencies
Maintainers
4
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loopback-component-oauth2 - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

8

CHANGES.md

@@ -1,4 +0,10 @@

2015-06-12, Version 2.1.0
2015-06-12, Version 2.1.1
=========================
* Allow models to be customized via options (Raymond Feng)
2015-06-11, Version 2.1.0
=========================
* Fix typo (Raymond Feng)

@@ -5,0 +11,0 @@

11

lib/models/index.js

@@ -235,8 +235,9 @@ var debug = require('debug')('loopback:oauth2:models');

// Adapter for the oAuth2 provider
var customModels = options.models || {};
var models = {
users: users,
clients: clients,
accessTokens: token,
authorizationCodes: code,
permissions: permission
users: customModels.users || users,
clients: customModels.clients || clients,
accessTokens: customModels.accessTokens || token,
authorizationCodes: customModels.authorizationCodes || code,
permissions: customModels.permission || permission
};

@@ -243,0 +244,0 @@

{
"name": "loopback-component-oauth2",
"version": "2.1.0",
"version": "2.1.1",
"description": "OAuth 2.0 provider for LoopBack",

@@ -51,3 +51,3 @@ "keywords": [

"optionalDependencies": {
"sl-blip": "http://blip.strongloop.com/loopback-component-oauth2@2.1.0"
"sl-blip": "http://blip.strongloop.com/loopback-component-oauth2@2.1.1"
},

@@ -54,0 +54,0 @@ "engines": {

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