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

saml2-js

Package Overview
Dependencies
Maintainers
3
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 0.2.4 to 0.2.7

adfs.crt

6

lib-js/saml2.js
// Generated by CoffeeScript 1.7.1
var IdentityProvider, ServiceProvider, XMLNS, async, certificate_to_keyinfo, check_saml_signature, check_status_success, create_authn_request, create_logout_request, create_metadata, crypto, decrypt_assertion, format_pem, get_name_id, get_session_index, parseString, parse_assertion_attributes, parse_authn_response, parse_response_header, pretty_assertion_attributes, sign_get_request, to_error, url, util, xmlbuilder, xmlcrypto, xmldom, xmlenc, zlib, _,
var IdentityProvider, ServiceProvider, XMLNS, async, certificate_to_keyinfo, check_saml_signature, check_status_success, create_authn_request, create_logout_request, create_metadata, crypto, debug, decrypt_assertion, format_pem, get_name_id, get_session_index, parseString, parse_assertion_attributes, parse_authn_response, parse_response_header, pretty_assertion_attributes, sign_get_request, to_error, url, util, xmlbuilder, xmlcrypto, xmldom, xmlenc, zlib, _,
__slice = [].slice,

@@ -12,2 +12,4 @@ __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; };

debug = require('debug')('saml2');
parseString = require('xml2js').parseString;

@@ -363,2 +365,3 @@

}, function(result, cb_wf) {
debug(result);
decrypted_assertion = (new xmldom.DOMParser()).parseFromString(result);

@@ -436,2 +439,3 @@ if (!_.some(idp_certificates, function(cert) {

}, function(response_buffer, cb_wf) {
debug(saml_response);
saml_response = (new xmldom.DOMParser()).parseFromString(response_buffer.toString());

@@ -438,0 +442,0 @@ return async.lift(parse_response_header)(saml_response, cb_wf);

13

package.json
{
"name": "saml2-js",
"version": "0.2.4",
"version": "0.2.7",
"description": "SAML 2.0 node helpers",

@@ -31,11 +31,12 @@ "author": "Clever",

"dependencies": {
"async": "~0.2.10",
"async-ext": "~0.1.4",
"debug": "^1.0.4",
"underscore": "~1.6.0",
"xml-crypto": "0.0.22",
"xml-encryption": "~0.6.0",
"xml2js": "~0.4.1",
"xmlbuilder": "~2.1.0",
"xml-crypto": "0.0.22",
"xmldom": "~0.1.19",
"xml-encryption": "~0.6.0",
"async": "~0.2.10",
"async-ext": "~0.1.4"
"xmldom": "~0.1.19"
}
}

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