File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change 77use DOMElement ;
88use SimpleSAML \SAML2 \Assert \Assert ;
99use SimpleSAML \SAML2 \Constants as C ;
10- use SimpleSAML \SAML2 \Exception \ProtocolViolationException ;
1110use SimpleSAML \SAML2 \Type \AnyURIListValue ;
1211use SimpleSAML \SAML2 \Type \SAMLAnyURIValue ;
1312use SimpleSAML \SAML2 \Type \SAMLDateTimeValue ;
@@ -65,18 +64,6 @@ public function __construct(
6564 protected array $ contact = [],
6665 array $ namespacedAttributes = [],
6766 ) {
68- /**
69- * A whitespace-delimited set of URIs that identify the set of protocol specifications supported by the
70- * role element. For SAML V2.0 entities, this set MUST include the SAML protocol namespace URI,
71- * urn:oasis:names:tc:SAML:2.0:protocol.
72- */
73- Assert::contains (
74- strval ($ protocolSupportEnumeration ),
75- C::NS_SAMLP ,
76- 'SAML v2.0 entities MUST include the SAML protocol namespace URI in their '
77- . ' protocolSupportEnumeration attribute ' ,
78- ProtocolViolationException::class,
79- );
8067 Assert::maxCount ($ contact , C::UNBOUNDED_LIMIT );
8168 Assert::allIsInstanceOf (
8269 $ contact ,
You can’t perform that action at this time.
0 commit comments