summaryrefslogtreecommitdiffstats
path: root/lib/SAML2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/SAML2')
-rw-r--r--lib/SAML2/Const.php39
1 files changed, 39 insertions, 0 deletions
diff --git a/lib/SAML2/Const.php b/lib/SAML2/Const.php
new file mode 100644
index 0000000..896872d
--- /dev/null
+++ b/lib/SAML2/Const.php
@@ -0,0 +1,39 @@
+<?php
+
+/**
+ * Various SAML 2 constants.
+ *
+ * @package simpleSAMLphp
+ * @version $Id$
+ */
+class SAML2_Const {
+
+ /**
+ * Top-level status code indicating successful processing of the request.
+ */
+ const STATUS_SUCCESS = 'urn:oasis:names:tc:SAML:2.0:status:Success';
+
+ /**
+ * Top-level status code indicating that there was a problem with the request.
+ */
+ const STATUS_REQUESTER = 'urn:oasis:names:tc:SAML:2.0:status:Requester';
+
+ /**
+ * Top-level status code indicating that there was a problem generating the response.
+ */
+ const STATUS_RESPONDER = 'urn:oasis:names:tc:SAML:2.0:status:Responder';
+
+ /**
+ * Top-level status code indicating that the request was from an unsupported version of the SAML protocol.
+ */
+ const STATUS_VERSION_MISMATCH = 'urn:oasis:names:tc:SAML:2.0:status:VersionMismatch';
+
+
+ /**
+ * Second-level status code for NoPassive errors.
+ */
+ const STATUS_NO_PASSIVE = 'urn:oasis:names:tc:SAML:2.0:status:NoPassive';
+
+}
+
+?> \ No newline at end of file