Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

saml2-js

Package Overview
Dependencies
Maintainers
5
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

saml2-js - npm Package Compare versions

Comparing version 2.0.6 to 2.0.7

test/data/no_subject.xml

33

lib-js/saml2.js

@@ -686,17 +686,22 @@ // Generated by CoffeeScript 1.12.7

}, function(validated_assertion, cb_wf) {
var assertion_attributes, session_info;
session_info = get_session_info(validated_assertion, require_session_index);
user.name_id = get_name_id(validated_assertion);
user.session_index = session_info.index;
if (session_info.not_on_or_after != null) {
user.session_not_on_or_after = session_info.not_on_or_after;
var assertion_attributes, err, session_info;
try {
session_info = get_session_info(validated_assertion, require_session_index);
user.name_id = get_name_id(validated_assertion);
user.session_index = session_info.index;
if (session_info.not_on_or_after != null) {
user.session_not_on_or_after = session_info.not_on_or_after;
}
assertion_attributes = parse_assertion_attributes(validated_assertion);
user = _.extend(user, pretty_assertion_attributes(assertion_attributes));
user = _.extend(user, {
attributes: assertion_attributes
});
return cb_wf(null, {
user: user
});
} catch (error) {
err = error;
return cb_wf(err);
}
assertion_attributes = parse_assertion_attributes(validated_assertion);
user = _.extend(user, pretty_assertion_attributes(assertion_attributes));
user = _.extend(user, {
attributes: assertion_attributes
});
return cb_wf(null, {
user: user
});
}

@@ -703,0 +708,0 @@ ], cb);

{
"name": "saml2-js",
"version": "2.0.6",
"version": "2.0.7",
"description": "SAML 2.0 node helpers",

@@ -5,0 +5,0 @@ "author": "Clever",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc