summaryrefslogtreecommitdiffstats
path: root/Auth
diff options
context:
space:
mode:
authortailor <cygnus@janrain.com>2007-04-02 22:33:46 +0000
committertailor <cygnus@janrain.com>2007-04-02 22:33:46 +0000
commitff745c87a8a9a366b6b038d73589fa59fc01f509 (patch)
tree20c4dc1d38c0d6c52d56fd7d64ffaff0badc4ccf /Auth
parentecbbb96cb663bd80a73a4c84484bf1335c31e73b (diff)
downloadphp-openid-ff745c87a8a9a366b6b038d73589fa59fc01f509.zip
php-openid-ff745c87a8a9a366b6b038d73589fa59fc01f509.tar.gz
php-openid-ff745c87a8a9a366b6b038d73589fa59fc01f509.tar.bz2
[project @ Doc updates for Auth/OpenID/Association.php]
Diffstat (limited to 'Auth')
-rw-r--r--Auth/OpenID/Association.php13
1 files changed, 12 insertions, 1 deletions
diff --git a/Auth/OpenID/Association.php b/Auth/OpenID/Association.php
index df14e15..3be5d53 100644
--- a/Auth/OpenID/Association.php
+++ b/Auth/OpenID/Association.php
@@ -311,6 +311,11 @@ class Auth_OpenID_Association {
return $signed_message;
}
+ /**
+ * Given a {@link Auth_OpenID_Message}, return the key/value pairs
+ * to be signed according to the signed list in the message. If
+ * the message lacks a signed list, return null.
+ */
function _makePairs(&$message)
{
$signed = $message->getArg(Auth_OpenID_OPENID_NS, 'signed');
@@ -330,6 +335,12 @@ class Auth_OpenID_Association {
return $pairs;
}
+ /**
+ * Given an {@link Auth_OpenID_Message}, return the signature for
+ * the signed list in the message.
+ *
+ * @access private
+ */
function getMessageSignature(&$message)
{
$pairs = $this->_makePairs($message);
@@ -338,7 +349,7 @@ class Auth_OpenID_Association {
/**
* Confirm that the signature of these fields matches the
- * signature contained in the data
+ * signature contained in the data.
*
* @access private
*/