Permalink
Browse files
Rename loopback-passport to loopback-component-passport
- Loading branch information...
Showing
with
11 additions
and
9 deletions.
-
+2
−2
LICENSE
-
+4
−2
README.md
-
+5
−5
package.json
|
|
@@ -1,7 +1,7 @@ |
|
|
Copyright (c) 2013-2014 StrongLoop, Inc.
|
|
|
|
|
|
-loopback-passport uses a 'dual license' model. Users may use
|
|
|
-loopback-passport under the terms of the Artistic 2.0 license, or under
|
|
|
+loopback-component-passport uses a 'dual license' model. Users may use
|
|
|
+loopback-component-passport under the terms of the Artistic 2.0 license, or under
|
|
|
the StrongLoop License. The text of both is included below.
|
|
|
|
|
|
Artistic License 2.0
|
|
|
|
|
@@ -1,4 +1,6 @@ |
|
|
-# loopback-passport
|
|
|
+# LoopBack Passport Component
|
|
|
+
|
|
|
+**NOTE: The loopback-component-passport module supersedes [loopback-passport](https://www.npmjs.org/package/loopback-passport). Please update your package.json accordingly.**
|
|
|
|
|
|
The module provides integration between [LoopBack](http://loopback.io) and
|
|
|
[Passport](http://passportjs.org) to support third party login and account
|
|
@@ -186,7 +188,7 @@ var path = require('path'); |
|
|
var app = module.exports = loopback();
|
|
|
|
|
|
// Create an instance of PassportConfigurator with the app instance
|
|
|
-var PassportConfigurator = require('loopback-passport').PassportConfigurator;
|
|
|
+var PassportConfigurator = require('loopback-component-passport').PassportConfigurator;
|
|
|
var passportConfigurator = new PassportConfigurator(app);
|
|
|
|
|
|
app.boot(__dirname);
|
|
|
|
|
@@ -1,5 +1,5 @@ |
|
|
{
|
|
|
- "name": "loopback-passport",
|
|
|
+ "name": "loopback-component-passport",
|
|
|
"description": "LoopBack passport integration to support third party logins and account linking",
|
|
|
"keywords": [
|
|
|
"StrongLoop",
|
|
@@ -8,7 +8,7 @@ |
|
|
"login",
|
|
|
"security"
|
|
|
],
|
|
|
- "homepage": "https://github.com/strongloop/loopback-passport",
|
|
|
+ "homepage": "https://github.com/strongloop/loopback-component-passport",
|
|
|
"version": "1.0.2",
|
|
|
"engines": {
|
|
|
"node": ">=0.10.0"
|
|
@@ -20,11 +20,11 @@ |
|
|
}
|
|
|
],
|
|
|
"bugs": {
|
|
|
- "url": "https://github.com/strongloop/loopback-passport/issues"
|
|
|
+ "url": "https://github.com/strongloop/loopback-component-passport/issues"
|
|
|
},
|
|
|
"repository": {
|
|
|
"type": "git",
|
|
|
- "url": "git://github.com/strongloop/loopback-passport.git"
|
|
|
+ "url": "git://github.com/strongloop/loopback-component-passport.git"
|
|
|
},
|
|
|
"dependencies": {
|
|
|
"passport": "~0.2.0",
|
|
@@ -43,6 +43,6 @@ |
|
|
"main": "./lib/index.js",
|
|
|
"license": {
|
|
|
"name": "Dual Artistic-2.0/StrongLoop",
|
|
|
- "url": "https://github.com/strongloop/loopback-passport/blob/master/LICENSE"
|
|
|
+ "url": "https://github.com/strongloop/loopback-component-passport/blob/master/LICENSE"
|
|
|
}
|
|
|
}
|
0 comments on commit
45b6d58