Skip to content

Commit 22e06ef

Browse files
authored
Backport ENTITYID_MAX_LENGTH
1 parent 8ca8505 commit 22e06ef

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/SAML2/Constants.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,4 +442,9 @@ class Constants
442442
* Second-level status code.
443443
*/
444444
const STATUS_UNSUPPORTED_BINDING = 'urn:oasis:names:tc:SAML:2.0:status:UnsupportedBinding';
445+
446+
/**
447+
* The maximum size for any entityid as per specification
448+
*/
449+
public const ENTITYID_MAX_LENGTH = 1024;
445450
}

0 commit comments

Comments
 (0)