Comparing version 3.0.0 to 3.0.1
@@ -107,5 +107,3 @@ // Generated by CoffeeScript 1.12.7 | ||
signing_certificate = ref1[j]; | ||
results.push({ | ||
'md:KeyDescriptor': certificate_to_keyinfo('signing', signing_certificate) | ||
}); | ||
results.push(certificate_to_keyinfo('signing', signing_certificate)); | ||
} | ||
@@ -120,5 +118,3 @@ return results; | ||
encryption_certificate = ref1[j]; | ||
results.push({ | ||
'md:KeyDescriptor': certificate_to_keyinfo('encryption', encryption_certificate) | ||
}); | ||
results.push(certificate_to_keyinfo('encryption', encryption_certificate)); | ||
} | ||
@@ -133,17 +129,15 @@ return results; | ||
'@validUntil': (new Date(Date.now() + 1000 * 60 * 60)).toISOString(), | ||
'md:SPSSODescriptor': [].concat({ | ||
'@protocolSupportEnumeration': 'urn:oasis:names:tc:SAML:1.1:protocol urn:oasis:names:tc:SAML:2.0:protocol' | ||
}).concat(signing_cert_descriptors).concat(encryption_cert_descriptors).concat([ | ||
{ | ||
'md:SingleLogoutService': { | ||
'@Binding': 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect', | ||
'@Location': assert_endpoint | ||
}, | ||
'md:AssertionConsumerService': { | ||
'@Binding': 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST', | ||
'@Location': assert_endpoint, | ||
'@index': '0' | ||
} | ||
'md:SPSSODescriptor': { | ||
'@protocolSupportEnumeration': 'urn:oasis:names:tc:SAML:1.1:protocol urn:oasis:names:tc:SAML:2.0:protocol', | ||
'md:KeyDescriptor': signing_cert_descriptors.concat(encryption_cert_descriptors), | ||
'md:SingleLogoutService': { | ||
'@Binding': 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect', | ||
'@Location': assert_endpoint | ||
}, | ||
'md:AssertionConsumerService': { | ||
'@Binding': 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST', | ||
'@Location': assert_endpoint, | ||
'@index': '0' | ||
} | ||
]) | ||
} | ||
} | ||
@@ -150,0 +144,0 @@ }).end(); |
{ | ||
"name": "saml2-js", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "SAML 2.0 node helpers", | ||
@@ -5,0 +5,0 @@ "author": "Clever", |
Sorry, the diff of this file is not supported yet
241694
926