@@ -14,98 +14,98 @@ class Constants extends \SimpleSAML\XMLSecurity\Constants
1414 /**
1515 * Password authentication context.
1616 */
17- public const AC_PASSWORD = 'urn:oasis:names:tc:SAML:1.0:am:password ' ;
17+ public const string AC_PASSWORD = 'urn:oasis:names:tc:SAML:1.0:am:password ' ;
1818
1919 /**
2020 * Kerberos authentication context.
2121 */
22- public const AC_KERBEROS = 'urn:ietf:rfc:1510 ' ;
22+ public const string AC_KERBEROS = 'urn:ietf:rfc:1510 ' ;
2323
2424 /**
2525 * Secure Remote Password authentication context.
2626 */
27- public const AC_SECURE_REMOTE_PASSWORD = 'urn:ietf:rfc:2945 ' ;
27+ public const string AC_SECURE_REMOTE_PASSWORD = 'urn:ietf:rfc:2945 ' ;
2828
2929 /**
3030 * Hardware token authentication context.
3131 */
32- public const AC_HARDWARE_TOKEN = 'urn:oasis:names:tc:SAML:1.0:am:HardwareToken ' ;
32+ public const string AC_HARDWARE_TOKEN = 'urn:oasis:names:tc:SAML:1.0:am:HardwareToken ' ;
3333
3434 /**
3535 * Certificate based client authentication authentication context.
3636 */
37- public const AC_CERT_BASE_CLIENT_AUTHN = 'urn:ietf:rfc:2246 ' ;
37+ public const string AC_CERT_BASE_CLIENT_AUTHN = 'urn:ietf:rfc:2246 ' ;
3838
3939 /**
4040 * X.509 Public key authentication context.
4141 */
42- public const AC_X509_PUBLIC_KEY = 'urn:oasis:names:tc:SAML:1.0:am:X509-PKI ' ;
42+ public const string AC_X509_PUBLIC_KEY = 'urn:oasis:names:tc:SAML:1.0:am:X509-PKI ' ;
4343
4444 /**
4545 * PGP Public key authentication context.
4646 */
47- public const AC_PGP_PUBLIC_KEY = 'urn:oasis:names:tc:SAML:1.0:am:PGP ' ;
47+ public const string AC_PGP_PUBLIC_KEY = 'urn:oasis:names:tc:SAML:1.0:am:PGP ' ;
4848
4949 /**
5050 * SPKI Public key authentication context.
5151 */
52- public const AC_SPKI_PUBLIC_KEY = 'urn:oasis:names:tc:SAML:1.0:am:SPKI ' ;
52+ public const string AC_SPKI_PUBLIC_KEY = 'urn:oasis:names:tc:SAML:1.0:am:SPKI ' ;
5353
5454 /**
5555 * XKMS Public key authentication context.
5656 */
57- public const AC_XMLS_PUBLIC_KEY = 'urn:oasis:names:tc:SAML:1.0:am:XKMS ' ;
57+ public const string AC_XMLS_PUBLIC_KEY = 'urn:oasis:names:tc:SAML:1.0:am:XKMS ' ;
5858
5959 /**
6060 * XML Digital Signature authentication context.
6161 */
62- public const AC_XML_DSIG = 'urn:ietf:rfc:3075 ' ;
62+ public const string AC_XML_DSIG = 'urn:ietf:rfc:3075 ' ;
6363
6464 /**
6565 * Unspecified authentication context.
6666 */
67- public const AC_UNSPECIFIED = 'urn:oasis:names:tc:SAML:1.0:am:unspecified ' ;
67+ public const string AC_UNSPECIFIED = 'urn:oasis:names:tc:SAML:1.0:am:unspecified ' ;
6868
6969 /**
7070 * Artifact subject confirmation method.
7171 */
72- public const CM_ARTIFACT = 'urn:oasis:names:tc:SAML:1.0:cm:artifact ' ;
72+ public const string CM_ARTIFACT = 'urn:oasis:names:tc:SAML:1.0:cm:artifact ' ;
7373
7474 /**
7575 * Bearer subject confirmation method.
7676 */
77- public const CM_BEARER = 'urn:oasis:names:tc:SAML:1.0:cm:bearer ' ;
77+ public const string CM_BEARER = 'urn:oasis:names:tc:SAML:1.0:cm:bearer ' ;
7878
7979 /**
8080 * Email address NameID format.
8181 */
82- public const NAMEID_EMAIL_ADDRESS = 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress ' ;
82+ public const string NAMEID_EMAIL_ADDRESS = 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress ' ;
8383
8484 /**
8585 * Unspecified NameID format.
8686 */
87- public const NAMEID_UNSPECIFIED = 'urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified ' ;
87+ public const string NAMEID_UNSPECIFIED = 'urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified ' ;
8888
8989 /**
9090 * Windows Domain Qualifier Name NameID format.
9191 */
92- public const NAMEID_WINDOWS_DOMAIN_QUALIFIED_NAME =
92+ public const string NAMEID_WINDOWS_DOMAIN_QUALIFIED_NAME =
9393 'urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName ' ;
9494
9595 /**
9696 * X509 Subject Name NameID format.
9797 */
98- public const NAMEID_X509_SUBJECT_NAME = 'urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName ' ;
98+ public const string NAMEID_X509_SUBJECT_NAME = 'urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName ' ;
9999
100100 /**
101101 * The namespace for the SAML 1.1 assertions.
102102 */
103- public const NS_SAML = 'urn:oasis:names:tc:SAML:1.0:assertion ' ;
103+ public const string NS_SAML = 'urn:oasis:names:tc:SAML:1.0:assertion ' ;
104104
105105 /**
106106 * The namespace for the SAML 1.1 protocol.
107107 */
108- public const NS_SAMLP = 'urn:oasis:names:tc:SAML:1.0:protocol ' ;
108+ public const string NS_SAMLP = 'urn:oasis:names:tc:SAML:1.0:protocol ' ;
109109
110110 /**
111111 * The SAML responder or SAML authority is able to process the request but has chosen not to respond.
@@ -114,51 +114,51 @@ class Constants extends \SimpleSAML\XMLSecurity\Constants
114114 *
115115 * Second-level status code.
116116 */
117- public const STATUS_REQUEST_DENIED = 'samlp:RequestDenied ' ;
117+ public const string STATUS_REQUEST_DENIED = 'samlp:RequestDenied ' ;
118118
119119 /**
120120 * The SAML responder cannot process any requests with the protocol version specified in the request.
121121 *
122122 * Second-level status code.
123123 */
124- public const STATUS_REQUEST_VERSION_DEPRECATED = 'samlp:RequestVersionDeprecated ' ;
124+ public const string STATUS_REQUEST_VERSION_DEPRECATED = 'samlp:RequestVersionDeprecated ' ;
125125
126126 /**
127127 * The SAML responder cannot process the request because the protocol version specified in the request message
128128 * is a major upgrade from the highest protocol version supported by the responder.
129129 *
130130 * Second-level status code.
131131 */
132- public const STATUS_REQUEST_VERSION_TOO_HIGH = 'samlp:RequestVersionTooHigh ' ;
132+ public const string STATUS_REQUEST_VERSION_TOO_HIGH = 'samlp:RequestVersionTooHigh ' ;
133133
134134 /**
135135 * The SAML responder cannot process the request because the protocol version specified in the request message
136136 * is too low.
137137 *
138138 * Second-level status code.
139139 */
140- public const STATUS_REQUEST_VERSION_TOO_LOW = 'samlp:RequestVersionTooLow ' ;
140+ public const string STATUS_REQUEST_VERSION_TOO_LOW = 'samlp:RequestVersionTooLow ' ;
141141
142142 /**
143143 * The request could not be performed due to an error on the part of the requester.
144144 *
145145 * Top-level status code.
146146 */
147- public const STATUS_REQUESTER = 'samlp:Requester ' ;
147+ public const string STATUS_REQUESTER = 'samlp:Requester ' ;
148148
149149 /**
150150 * The resource value provided in the request message is invalid or unrecognized.
151151 *
152152 * Second-level status code.
153153 */
154- public const STATUS_RESOURCE_NOT_RECOGNIZED = 'samlp:ResourceNotRecognized ' ;
154+ public const string STATUS_RESOURCE_NOT_RECOGNIZED = 'samlp:ResourceNotRecognized ' ;
155155
156156 /**
157157 * The request could not be performed due to an error on the part of the SAML responder or SAML authority.
158158 *
159159 * Top-level status code.
160160 */
161- public const STATUS_RESPONDER = 'samlp:Responder ' ;
161+ public const string STATUS_RESPONDER = 'samlp:Responder ' ;
162162
163163 /**
164164 * Top-level status code indicating successful processing of the request.
@@ -167,21 +167,21 @@ class Constants extends \SimpleSAML\XMLSecurity\Constants
167167 *
168168 * Top-level status code.
169169 */
170- public const STATUS_SUCCESS = 'samlp:Success ' ;
170+ public const string STATUS_SUCCESS = 'samlp:Success ' ;
171171
172172 /**
173173 * The response message would contain more elements than the SAML responder is able to return.
174174 *
175175 * Second-level status code.
176176 */
177- public const STATUS_TOO_MANY_RESPONSES = 'samlp:TooManyResponses ' ;
177+ public const string STATUS_TOO_MANY_RESPONSES = 'samlp:TooManyResponses ' ;
178178
179179 /**
180180 * The SAML responder could not process the request because the version of the request message was incorrect.
181181 *
182182 * Top-level status code.
183183 */
184- public const STATUS_VERSION_MISMATCH = 'samlp:VersionMismatch ' ;
184+ public const string STATUS_VERSION_MISMATCH = 'samlp:VersionMismatch ' ;
185185
186186
187187 /** @var string[] */
0 commit comments