Skip to content
Snippets Groups Projects
Commit 846f4acf authored by Olav Morken's avatar Olav Morken
Browse files

SAML2: Add more constants.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1603 44740490-163a-0410-bde0-09ae8108e29a
parent 00549038
No related branches found
No related tags found
No related merge requests found
...@@ -8,6 +8,71 @@ ...@@ -8,6 +8,71 @@
*/ */
class SAML2_Const { class SAML2_Const {
/**
* The URN for the HTTP-POST binding.
*/
const BINDING_HTTP_POST = 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST';
/**
* The URN for the HTTP-Redirect binding.
*/
const BINDING_HTTP_REDIRECT = 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect';
/**
* Bearer subject confirmation method.
*/
const CM_BEARER = 'urn:oasis:names:tc:SAML:2.0:cm:bearer';
/**
* The URN for the unspecified attribute NameFormat.
*/
const NAMEFORMAT_UNSPECIFIED = 'urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified';
/**
* Unspecified NameID format.
*/
const NAMEID_UNSPECIFIED = 'urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified';
/**
* Persistent NameID format.
*/
const NAMEID_PERSISTENT = 'urn:oasis:names:tc:SAML:2.0:nameid-format:persistent';
/**
* Transient NameID format.
*/
const NAMEID_TRANSIENT = 'urn:oasis:names:tc:SAML:2.0:nameid-format:transient';
/**
* Encrypted NameID format.
*/
const NAMEID_ENCRYPTED = 'urn:oasis:names:tc:SAML:2.0:nameid-format:encrypted';
/**
* The namespace for the SAML 2 protocol.
*/
const NS_SAMLP = 'urn:oasis:names:tc:SAML:2.0:protocol';
/**
* The namespace for the SAML 2 assertions.
*/
const NS_SAML = 'urn:oasis:names:tc:SAML:2.0:assertion';
/**
* The namespace fox XML schema.
*/
const NS_XS = 'http://www.w3.org/2001/XMLSchema';
/**
* The namespace for XML schema instance.
*/
const NS_XSI = 'http://www.w3.org/2001/XMLSchema-instance';
/** /**
* Top-level status code indicating successful processing of the request. * Top-level status code indicating successful processing of the request.
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment