ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Constants.php
Go to the documentation of this file.
1 <?php
2 
3 namespace SAML2;
4 
10 class Constants
11 {
15  const AC_PASSWORD = 'urn:oasis:names:tc:SAML:2.0:ac:classes:Password';
16 
20  const AC_PASSWORD_PROTECTED_TRANSPORT = 'urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport';
21 
25  const AC_UNSPECIFIED = 'urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified';
26 
30  const BINDING_HTTP_POST = 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST';
31 
35  const BINDING_HTTP_REDIRECT = 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect';
36 
40  const BINDING_HTTP_ARTIFACT = 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact';
41 
45  const BINDING_SOAP = 'urn:oasis:names:tc:SAML:2.0:bindings:SOAP';
46 
50  const BINDING_PAOS = 'urn:oasis:names:tc:SAML:2.0:bindings:PAOS';
51 
55  const BINDING_HOK_SSO = 'urn:oasis:names:tc:SAML:2.0:profiles:holder-of-key:SSO:browser';
56 
60  const CM_BEARER = 'urn:oasis:names:tc:SAML:2.0:cm:bearer';
61 
65  const CM_HOK = 'urn:oasis:names:tc:SAML:2.0:cm:holder-of-key';
66 
70  const CM_VOUCHES = 'urn:oasis:names:tc:SAML:2.0:cm:sender-vouches';
71 
77  const COMPARISON_BETTER = 'better';
78 
83  const COMPARISON_EXACT = 'exact';
84 
90  const COMPARISON_MAXIMUM = 'maximum';
91 
97  const COMPARISON_MINIMUM = 'minimum';
98 
102  const CONSENT_UNSPECIFIED = 'urn:oasis:names:tc:SAML:2.0:consent:unspecified';
103 
107  const CONSENT_OBTAINED = 'urn:oasis:names:tc:SAML:2.0:consent:obtained';
108 
113  const CONSENT_PRIOR = 'urn:oasis:names:tc:SAML:2.0:consent:prior';
114 
121  const CONSENT_IMPLICIT = 'urn:oasis:names:tc:SAML:2.0:consent:current-implicit';
122 
127  const CONSENT_EXPLICIT = 'urn:oasis:names:tc:SAML:2.0:consent:current-explicit';
128 
132  const CONSENT_UNAVAILABLE = 'urn:oasis:names:tc:SAML:2.0:consent:unavailable';
133 
137  const CONSENT_INAPPLICABLE = 'urn:oasis:names:tc:SAML:2.0:consent:inapplicable';
138 
139  const EPTI_URN_MACE = 'urn:mace:dir:attribute-def:eduPersonTargetedID';
140 
141  const EPTI_URN_OID = 'urn:oid:1.3.6.1.4.1.5923.1.1.1.10';
142 
146  const NAMEFORMAT_UNSPECIFIED = 'urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified';
147 
153  const NAMEFORMAT_URI = 'urn:oasis:names:tc:SAML:2.0:attrname-format:uri';
154 
160  const NAMEFORMAT_BASIC = 'urn:oasis:names:tc:SAML:2.0:attrname-format:basic';
161 
165  const NAMEID_UNSPECIFIED = 'urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified';
166 
170  const NAMEID_EMAIL_ADDRESS = 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress';
171 
175  const NAMEID_X509_SUBJECT_NAME = 'urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName';
176 
180  const NAMEID_WINDOWS_DOMAIN_QUALIFIED_NAME = 'urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName';
181 
185  const NAMEID_KERBEROS = 'urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos';
186 
190  const NAMEID_ENTITY = 'urn:oasis:names:tc:SAML:2.0:nameid-format:entity';
191 
195  const NAMEID_PERSISTENT = 'urn:oasis:names:tc:SAML:2.0:nameid-format:persistent';
196 
200  const NAMEID_TRANSIENT = 'urn:oasis:names:tc:SAML:2.0:nameid-format:transient';
201 
205  const NAMEID_ENCRYPTED = 'urn:oasis:names:tc:SAML:2.0:nameid-format:encrypted';
206 
210  const NS_ECP = 'urn:oasis:names:tc:SAML:2.0:profiles:SSO:ecp';
211 
215  const NS_SOAP = 'http://schemas.xmlsoap.org/soap/envelope/';
216 
220  const NS_SAMLP = 'urn:oasis:names:tc:SAML:2.0:protocol';
221 
225  const NS_SAML = 'urn:oasis:names:tc:SAML:2.0:assertion';
226 
230  const NS_MD = 'urn:oasis:names:tc:SAML:2.0:metadata';
231 
235  const NS_XS = 'http://www.w3.org/2001/XMLSchema';
236 
240  const NS_XSI = 'http://www.w3.org/2001/XMLSchema-instance';
241 
245  const NS_HOK = 'urn:oasis:names:tc:SAML:2.0:profiles:holder-of-key:SSO:browser';
246 
250  const STATUS_PREFIX = 'urn:oasis:names:tc:SAML:2.0:status:';
251 
259  const STATUS_SUCCESS = 'urn:oasis:names:tc:SAML:2.0:status:Success';
260 
266  const STATUS_REQUESTER = 'urn:oasis:names:tc:SAML:2.0:status:Requester';
267 
273  const STATUS_RESPONDER = 'urn:oasis:names:tc:SAML:2.0:status:Responder';
274 
280  const STATUS_VERSION_MISMATCH = 'urn:oasis:names:tc:SAML:2.0:status:VersionMismatch';
281 
287  const STATUS_AUTHN_FAILED = 'urn:oasis:names:tc:SAML:2.0:status:AuthnFailed';
288 
294  const STATUS_INVALID_ATTR = 'urn:oasis:names:tc:SAML:2.0:status:InvalidAttrNameOrValue';
295 
301  const STATUS_INVALID_NAMEID_POLICY = 'urn:oasis:names:tc:SAML:2.0:status:InvalidNameIDPolicy';
302 
308  const STATUS_NO_AUTHN_CONTEXT = 'urn:oasis:names:tc:SAML:2.0:status:NoAuthnContext';
309 
316  const STATUS_NO_AVAILABLE_IDP = 'urn:oasis:names:tc:SAML:2.0:status:NoAvailableIDP';
317 
323  const STATUS_NO_PASSIVE = 'urn:oasis:names:tc:SAML:2.0:status:NoPassive';
324 
331  const STATUS_NO_SUPPORTED_IDP = 'urn:oasis:names:tc:SAML:2.0:status:NoSupportedIDP';
332 
339  const STATUS_PARTIAL_LOGOUT = 'urn:oasis:names:tc:SAML:2.0:status:PartialLogout';
340 
347  const STATUS_PROXY_COUNT_EXCEEDED = 'urn:oasis:names:tc:SAML:2.0:status:ProxyCountExceeded';
348 
356  const STATUS_REQUEST_DENIED = 'urn:oasis:names:tc:SAML:2.0:status:RequestDenied';
357 
363  const STATUS_REQUEST_UNSUPPORTED = 'urn:oasis:names:tc:SAML:2.0:status:RequestUnsupported';
364 
370  const STATUS_REQUEST_VERSION_DEPRECATED = 'urn:oasis:names:tc:SAML:2.0:status:RequestVersionDeprecated';
371 
378  const STATUS_REQUEST_VERSION_TOO_HIGH = 'urn:oasis:names:tc:SAML:2.0:status:RequestVersionTooHigh';
379 
386  const STATUS_REQUEST_VERSION_TOO_LOW = 'urn:oasis:names:tc:SAML:2.0:status:RequestVersionTooLow';
387 
393  const STATUS_RESOURCE_NOT_RECOGNIZED = 'urn:oasis:names:tc:SAML:2.0:status:ResourceNotRecognized';
394 
400  const STATUS_TOO_MANY_RESPONSES = 'urn:oasis:names:tc:SAML:2.0:status:TooManyResponses';
401 
408  const STATUS_UNKNOWN_ATTR_PROFILE = 'urn:oasis:names:tc:SAML:2.0:status:UnknownAttrProfile';
409 
415  const STATUS_UNKNOWN_PRINCIPAL = 'urn:oasis:names:tc:SAML:2.0:status:UnknownPrincipal';
416 
422  const STATUS_UNSUPPORTED_BINDING = 'urn:oasis:names:tc:SAML:2.0:status:UnsupportedBinding';
423 }