diff options
author | tailor <cygnus@janrain.com> | 2008-02-07 21:22:11 +0000 |
---|---|---|
committer | tailor <cygnus@janrain.com> | 2008-02-07 21:22:11 +0000 |
commit | 91ee15f812a1c093dfb0b7c36d855f9651233be4 (patch) | |
tree | e94d4c4c9cc8895b46a8359b249c569a4757e480 /Auth | |
parent | 1af2d62be0011b1a5de659de280b811bfbcf0ff7 (diff) | |
download | php-openid-91ee15f812a1c093dfb0b7c36d855f9651233be4.zip php-openid-91ee15f812a1c093dfb0b7c36d855f9651233be4.tar.gz php-openid-91ee15f812a1c093dfb0b7c36d855f9651233be4.tar.bz2 |
[project @ Remove stale getAssocArgs]
Diffstat (limited to 'Auth')
-rw-r--r-- | Auth/OpenID/DiffieHellman.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/Auth/OpenID/DiffieHellman.php b/Auth/OpenID/DiffieHellman.php index 9b99909..b9a8034 100644 --- a/Auth/OpenID/DiffieHellman.php +++ b/Auth/OpenID/DiffieHellman.php @@ -90,27 +90,6 @@ class Auth_OpenID_DiffieHellman { return $this->public; } - /** - * Generate the arguments for an OpenID Diffie-Hellman association - * request - */ - function getAssocArgs() - { - $cpub = $this->lib->longToBase64($this->getPublicKey()); - $args = array( - 'openid.dh_consumer_public' => $cpub, - 'openid.session_type' => 'DH-SHA1' - ); - - if ($this->lib->cmp($this->mod, Auth_OpenID_getDefaultMod()) || - $this->lib->cmp($this->gen, Auth_OpenID_getDefaultGen())) { - $args['openid.dh_modulus'] = $this->lib->longToBase64($this->mod); - $args['openid.dh_gen'] = $this->lib->longToBase64($this->gen); - } - - return $args; - } - function usingDefaultValues() { return ($this->mod == Auth_OpenID_getDefaultMod() && |