File tree 2 files changed +6
-5
lines changed
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
1
node_modules
2
- .DS_Store
2
+ .DS_Store
3
+ package-lock.json
Original file line number Diff line number Diff line change 1
- Create SAML assertions.
1
+ # node-saml
2
2
3
- NOTE: currently supports SAML 1.1 tokens
3
+ Create SAML assertions. Supports SAML 1.1 and SAML 2.0 tokens.
4
4
5
5
[ ![ Build Status] ( https://travis-ci.org/auth0/node-saml.png )] ( https://travis-ci.org/auth0/node-saml )
6
6
7
7
### Usage
8
8
9
9
``` js
10
- var saml11 = require (' saml' ).Saml11 ;
10
+ var saml = require (' saml' ).Saml20 ; // or Saml11
11
11
12
12
var options = {
13
13
cert: fs .readFileSync (__dirname + ' /test-auth0.pem' ),
@@ -23,7 +23,7 @@ var options = {
23
23
sessionIndex: ' _faed468a-15a0-4668-aed6-3d9c478cc8fa'
24
24
};
25
25
26
- var signedAssertion = saml11 .create (options);
26
+ var signedAssertion = saml .create (options);
27
27
```
28
28
29
29
Everything except the cert and key is optional.
You can’t perform that action at this time.
0 commit comments