Skip to content

Commit

Permalink
license and document changes
Browse files Browse the repository at this point in the history
  • Loading branch information
david committed Nov 25, 2016
1 parent 9812987 commit 0f8d093
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 3 deletions.
7 changes: 7 additions & 0 deletions LICENSE.md
@@ -0,0 +1,7 @@
Copyright (c) 2016 David Parra

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1 change: 0 additions & 1 deletion app.js
Expand Up @@ -63,7 +63,6 @@ idmWeb.authStrategies(conf,core_conf);
app.use("/auth", idmWeb.routerProviers(conf));

//set up entities API
idmWeb.apiStrategies(conf);
app.use("/api", idmWeb.routerApi(app));

//set up static sites
Expand Down
5 changes: 5 additions & 0 deletions lib/auth/oauth2/oauth2orize.js
Expand Up @@ -22,6 +22,11 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Modifications 2016 David Parra. Change the implementations to use different logic
according to this project (tokens, users, etc). However, the coments explaining
each oauth2 server endpoint are kept.
*/
/**
* Module dependencies.
Expand Down
6 changes: 5 additions & 1 deletion lib/auth/oauth2/strategies.js
@@ -1,7 +1,7 @@
/*
MIT License
Copyright (c) 2016 Gerges Beshay, nopbyte
Copyright (c) 2016 Gerges Beshay
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -20,6 +20,10 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Modifications 2016 David Parra. removed some unused parts, enhanced scopes and
add error handling. However, the coments explaining each oauth2 server
endpoint are kept.
*/
var passport = require('passport');
var BasicStrategy = require('passport-http').BasicStrategy;
Expand Down
4 changes: 3 additions & 1 deletion routes/oauth2-routes.js
@@ -1,7 +1,7 @@
/*
MIT License
Copyright (c) 2016 Gerges Beshay. nopbyte
Copyright (c) 2016 Gerges Beshay.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -20,6 +20,8 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Modifications 2016 David Parra. Removed several sections of code and adapted some request processing
*/

var passport = require('passport');
Expand Down

0 comments on commit 0f8d093

Please sign in to comment.