From 1102f28ddff6e1d3af1a70b13c237bf7c1df675c Mon Sep 17 00:00:00 2001 From: peter Date: Tue, 25 Sep 2018 11:10:10 +0200 Subject: [PATCH] Add PasswordProtectedTransport to constants As mentioned in SSP [PR#937](https://github.com/simplesamlphp/simplesamlphp/pull/937) it may be useful to automatically select `PasswordProtectedTransport` based on a secure transport. --- src/SAML2/Constants.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/SAML2/Constants.php b/src/SAML2/Constants.php index 5e61b3be3..7cb5c2363 100644 --- a/src/SAML2/Constants.php +++ b/src/SAML2/Constants.php @@ -14,6 +14,11 @@ class Constants */ const AC_PASSWORD = 'urn:oasis:names:tc:SAML:2.0:ac:classes:Password'; + /** + * PasswordProtectedTransport authentication context. + */ + const AC_PASSWORD_PROTECTED_TRANSPORT = 'urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport'; + /** * Unspecified authentication context. */