diff --git a/classes/element.registry.php b/classes/element.registry.php index 04b8d47de..c33e56524 100644 --- a/classes/element.registry.php +++ b/classes/element.registry.php @@ -3,6 +3,9 @@ declare(strict_types=1); return [ + 'urn:oasis:names:tc:SAML:2.0:protocol:ext:async-slo' => [ + 'Asynchronous' => '\SimpleSAML\SAML2\XML\aslo\Asynchronous', + ], 'urn:oasis:names:tc:SAML:metadata:algsupport' => [ 'DigestMethod' => '\SimpleSAML\SAML2\XML\alg\DigestMethod', 'SigningMethod' => '\SimpleSAML\SAML2\XML\alg\SigningMethod', diff --git a/resources/schemas/saml-async-slo-v1.0.xsd b/resources/schemas/saml-async-slo-v1.0.xsd new file mode 100644 index 000000000..2a64b8917 --- /dev/null +++ b/resources/schemas/saml-async-slo-v1.0.xsd @@ -0,0 +1,13 @@ + + + + + + + + + + diff --git a/src/Constants.php b/src/Constants.php index 968fd7817..ac884ff07 100644 --- a/src/Constants.php +++ b/src/Constants.php @@ -226,6 +226,11 @@ class Constants extends \SimpleSAML\XMLSecurity\Constants */ public const string NS_ALG = 'urn:oasis:names:tc:SAML:metadata:algsupport'; + /** + * The namespace for the SAML 2 Asynchronous Single Logout Profile Extension + */ + public const string NS_ASLO = 'urn:oasis:names:tc:SAML:2.0:protocol:ext:async-slo'; + /** * The namespace for the ECP protocol. */ diff --git a/src/XML/aslo/AbstractAlsoElement.php b/src/XML/aslo/AbstractAlsoElement.php new file mode 100644 index 000000000..054ae8f14 --- /dev/null +++ b/src/XML/aslo/AbstractAlsoElement.php @@ -0,0 +1,23 @@ +