From 8abc5f79f9bcd63c12f1d11d23aebd80470b8bad Mon Sep 17 00:00:00 2001 From: Tim van Dijen Date: Sun, 1 Sep 2024 00:44:21 +0200 Subject: [PATCH] Fix: Override element name, namespace and prefix --- src/XML/fed/SecurityTokenServiceType.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/XML/fed/SecurityTokenServiceType.php b/src/XML/fed/SecurityTokenServiceType.php index 0841fc1b..368f9e98 100644 --- a/src/XML/fed/SecurityTokenServiceType.php +++ b/src/XML/fed/SecurityTokenServiceType.php @@ -22,6 +22,16 @@ */ final class SecurityTokenServiceType extends AbstractSecurityTokenServiceType { + /** @var string */ + public const NS = C::NS_MD; + + /** @var string */ + public const NS_PREFIX = 'md'; + + /** @var string */ + public const LOCALNAME = 'RoleDescriptor'; + + /** * Convert XML into a SecurityTokenServiceType RoleDescriptor *