diff options
author | tailor <cygnus@janrain.com> | 2007-04-02 22:33:46 +0000 |
---|---|---|
committer | tailor <cygnus@janrain.com> | 2007-04-02 22:33:46 +0000 |
commit | ff745c87a8a9a366b6b038d73589fa59fc01f509 (patch) | |
tree | 20c4dc1d38c0d6c52d56fd7d64ffaff0badc4ccf /Auth | |
parent | ecbbb96cb663bd80a73a4c84484bf1335c31e73b (diff) | |
download | php-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.php | 13 |
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 */ |