summaryrefslogtreecommitdiffstats
path: root/Auth
diff options
context:
space:
mode:
authortailor <cygnus@janrain.com>2007-04-02 23:32:54 +0000
committertailor <cygnus@janrain.com>2007-04-02 23:32:54 +0000
commit31ced3b12cf39ccd9a9426a6e75e026d57e13adb (patch)
treed25c34e0c1563bdfbd2267f66695bc4f22a0e7d7 /Auth
parent08d202e7dfd5825b31973f3a304276ce9e36f312 (diff)
downloadphp-openid-31ced3b12cf39ccd9a9426a6e75e026d57e13adb.zip
php-openid-31ced3b12cf39ccd9a9426a6e75e026d57e13adb.tar.gz
php-openid-31ced3b12cf39ccd9a9426a6e75e026d57e13adb.tar.bz2
[project @ Add DH-SHA256 to list of implemented session types]
Diffstat (limited to 'Auth')
-rw-r--r--Auth/OpenID/Consumer.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Auth/OpenID/Consumer.php b/Auth/OpenID/Consumer.php
index 95818c6..8e47ef1 100644
--- a/Auth/OpenID/Consumer.php
+++ b/Auth/OpenID/Consumer.php
@@ -502,7 +502,8 @@ function Auth_OpenID_getAvailableSessionTypes()
{
$types = array(
'no-encryption' => 'Auth_OpenID_PlainTextConsumerSession',
- 'DH-SHA1' => 'Auth_OpenID_DiffieHellmanSHA1ConsumerSession');
+ 'DH-SHA1' => 'Auth_OpenID_DiffieHellmanSHA1ConsumerSession',
+ 'DH-SHA256' => 'Auth_OpenID_DiffieHellmanSHA256ConsumerSession');
return $types;
}