diff --git a/.gitignore b/.gitignore index 4566f67d..55ed466e 100644 --- a/.gitignore +++ b/.gitignore @@ -28,4 +28,6 @@ build .idea #vscode -.vscode \ No newline at end of file +.vscode + +*.tgz diff --git a/Makefile b/Makefile index 49847786..e7b80715 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -PROJECT = "express-saml2" +PROJECT = "samlify" install: ;@echo "install ${PROJECT}"; \ yarn; diff --git a/README.md b/README.md index 2863443c..3bad794b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# express-saml2 · [![Build Status](https://travis-ci.org/tngan/express-saml2.svg?branch=master)](https://travis-ci.org/tngan/express-saml2) [![npm version](https://img.shields.io/npm/v/express-saml2.svg?style=flat)](https://www.npmjs.com/package/express-saml2) [![Join the chat at https://gitter.im/tngan/express-saml2](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/tngan/express-saml2?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Coverage Status](https://coveralls.io/repos/github/tngan/express-saml2/badge.svg?branch=2.0.0-alpha)](https://coveralls.io/github/tngan/express-saml2?branch=2.0.0-alpha) +# samlify · [![Build Status](https://travis-ci.org/tngan/samlify.svg?branch=master)](https://travis-ci.org/tngan/samlify) [![npm version](https://img.shields.io/npm/v/samlify.svg?style=flat)](https://www.npmjs.com/package/samlify) [![Join the chat at https://gitter.im/tngan/samlify](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/tngan/samlify?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Coverage Status](https://coveralls.io/repos/github/tngan/samlify/badge.svg?branch=2.0.0-alpha)](https://coveralls.io/github/tngan/samlify?branch=2.0.0-alpha) High-level Node.js API for Single Sign On (SAML 2.0) @@ -13,7 +13,7 @@ This module provides high-level API for scalable Single Sign On (SSO) implementa ### Installation To install the stable version ```bash -$ npm install express-saml2 +$ npm install samlify ``` ### Development @@ -29,9 +29,9 @@ yarn install ### Get Started ```javascript -const saml = require('express-saml2'); +const saml = require('samlify'); ``` -See full documentation [here](https://github.com/tngan/express-saml2/wiki) +See full documentation [here](https://github.com/tngan/samlify/wiki) ### Support algorithms Signature algorithms diff --git a/docs/CNAME b/docs/CNAME index 27a74eba..bf1f3fbd 100644 --- a/docs/CNAME +++ b/docs/CNAME @@ -1 +1 @@ -express-saml2.js.org +samlify.js.org diff --git a/docs/README.md b/docs/README.md index d4d121db..b87e9ba4 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,4 +1,4 @@ -## express-saml2 +## samlify > High-level API library for Single Sign On with SAML 2.0 @@ -15,13 +15,13 @@ We provide a simple interface that's highly configurable. To install the stable version ```bash -$ npm install express-saml2 +$ npm install samlify ``` or ```bash -$ yarn add express-saml2 +$ yarn add samlify ``` ### Use cases @@ -40,7 +40,7 @@ Simple solution of Identity Provider is provided in this module for test and edu !> **The constructor of entity is also modified to accept a single configuration object instead of putting metadata and advanced configurations in separate arguments.** ```javascript -const saml = require('express-saml2'); +const saml = require('samlify'); // configure a service provider const sp = saml.ServiceProvider({ metadata: fs.readFileSync('./metadata_sp.xml') diff --git a/docs/_coverpage.md b/docs/_coverpage.md index c0f20305..9e65ab43 100644 --- a/docs/_coverpage.md +++ b/docs/_coverpage.md @@ -1,6 +1,6 @@ ![logo](_media/lock.png) -# express-saml2 2.0.0 alpha +# samlify 2.0.0 > Node.js SAML2 API @@ -8,8 +8,8 @@ - Includes Identity and Service Provider - Highly configurable -[GitHub](https://github.com/tngan/express-saml2) -[Get Started](#express-saml2) +[GitHub](https://github.com/tngan/samlify) +[Get Started](#samlify) ![](_media/bg.jpg) diff --git a/docs/encrypted-saml-response.md b/docs/encrypted-saml-response.md index dcb13a25..b06485cd 100644 --- a/docs/encrypted-saml-response.md +++ b/docs/encrypted-saml-response.md @@ -3,7 +3,7 @@ According to the guideline of SAML, our module leaves some security options for developers. If the assertion contains some sensitive information, Identity Provider may want to do encryption. In IdP's construction, add the following settings as follow: ```javascript -const saml = require('express-saml2'); +const saml = require('samlify'); const setting = { isAssertionEncrypted: true, encPrivateKeyFile: fs.readFileSync('./key/idp/encryptKey.pem'), diff --git a/docs/idp.md b/docs/idp.md index b3f6165d..5244ba09 100644 --- a/docs/idp.md +++ b/docs/idp.md @@ -4,7 +4,7 @@ This module provides API of Identity Provider for internal test purpose. Even th Let's get started with entry point: ```javascript -const saml = require('express-saml2'); +const saml = require('samlify'); ``` The following metadata is provided by the target identity provider. diff --git a/docs/index.html b/docs/index.html index f73b2dd6..4011c409 100644 --- a/docs/index.html +++ b/docs/index.html @@ -2,7 +2,7 @@ - express-saml2 - High-level API for Single Sign On (SAML 2.0) + samlify - High-level API for Single Sign On (SAML 2.0) @@ -13,8 +13,8 @@