node-saml:为节点创建SAML断言

时间:2021-05-07 18:32:15
【文件属性】:
文件名称:node-saml:为节点创建SAML断言
文件大小:22KB
文件格式:ZIP
更新时间:2021-05-07 18:32:15
JavaScript 节点saml 创建SAML断言。 支持SAML 1.1和SAML 2.0令牌。 用法 var saml = require ( 'saml' ) . Saml20 ; // or Saml11 var options = { cert : fs . readFileSync ( __dirname + '/test-auth0.pem' ) , key : fs . readFileSync ( __dirname + '/test-auth0.key' ) , issuer : 'urn:issuer' , lifetimeInSeconds : 600 , audiences : 'urn:myapp' , attributes : { 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/ema
【文件预览】:
node-saml-master
----commitlint.config.js(67B)
----lib()
--------xml()
--------saml11.js(8KB)
--------utils.js(2KB)
--------saml20.template(667B)
--------saml20.js(10KB)
--------index.js(75B)
--------saml11.template(1KB)
----.travis.yml(51B)
----LICENSE(1KB)
----test()
--------saml11.tests.js(18KB)
--------utils.tests.js(275B)
--------test-auth0.key(2KB)
--------saml20.tests.js(28KB)
--------utils.js(4KB)
--------test-auth0_rsa.pub(450B)
--------test-auth0.pem(1KB)
----README.md(1KB)
----.gitignore(41B)
----CHANGELOG.md(2KB)
----package.json(871B)

网友评论