Comparing version 2.0.6 to 2.0.7
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
235758
49
936