Create SAML assertions. Supports SAML 1.1 and SAML 2.0 tokens.
var saml = Saml20; // or Saml11var options =cert: fskey: fsissuer: 'urn:issuer'lifetimeInSeconds: 600audiences: 'urn:myapp'attributes:'': 'firstname.lastname@example.org''': 'Foo Bar'nameIdentifier: 'foo'sessionIndex: '_faed468a-15a0-4668-aed6-3d9c478cc8fa';var signedAssertion = saml;
Everything except the cert and key is optional.
If you have found a bug or if you have a feature request, please report them at this repository issues section. Please do not report security vulnerabilities on the public GitHub issue tracker. The Responsible Disclosure Program details the procedure for disclosing security issues.
This project is licensed under the MIT license. See the LICENSE file for more info.