summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortailor <cygnus@janrain.com>2006-05-10 19:44:12 +0000
committertailor <cygnus@janrain.com>2006-05-10 19:44:12 +0000
commit144e91d84203c7b35c3caeb456bd2c470f623284 (patch)
treeac608dd286776e1005b4a6c194a0ea73314de72e
parenta5b198dea81e03939ad246869cc5c34de4e147bc (diff)
downloadphp-openid-144e91d84203c7b35c3caeb456bd2c470f623284.zip
php-openid-144e91d84203c7b35c3caeb456bd2c470f623284.tar.gz
php-openid-144e91d84203c7b35c3caeb456bd2c470f623284.tar.bz2
[project @ Removed AuthenticationRequest class]
-rw-r--r--Auth/OpenID/AuthenticationRequest.php76
-rw-r--r--Auth/OpenID/Consumer.php1
2 files changed, 0 insertions, 77 deletions
diff --git a/Auth/OpenID/AuthenticationRequest.php b/Auth/OpenID/AuthenticationRequest.php
deleted file mode 100644
index c7926de..0000000
--- a/Auth/OpenID/AuthenticationRequest.php
+++ /dev/null
@@ -1,76 +0,0 @@
-<?php
-/**
- * OpenID Consumer Authentication Request
- *
- * PHP versions 4 and 5
- *
- * LICENSE: See the COPYING file included in this distribution.
- *
- * @package OpenID
- * @author JanRain, Inc. <openid@janrain.com>
- * @copyright 2005 Janrain, Inc.
- * @license http://www.gnu.org/copyleft/lesser.html LGPL
- */
-
-
-/**
- * This class represents an in-progress OpenID authentication request.
- * It exists to make transferring information between the beginAuth
- * and constructRedirect methods easier. Users of the OpenID consumer
- * library will need to be aware of the $token value, and may care
- * about the $server_url value. All other fields are internal
- * information for the library which the user of the library shouldn't
- * need to touch at all.
- *
- * The 'token' is the token generated by the library. It must be
- * saved until the user's return request, via whatever mechanism works
- * best for this consumer application.
- *
- * The 'server_url' is the URL of the identity server that will be
- * used. It isn't necessary to do anything with this value, but it is
- * available for consumers that wish to either blacklist or whitelist
- * OpenID servers.
- *
- * @package OpenID
- */
-class Auth_OpenID_AuthenticationRequest {
- /**
- * The token that the library uses to track this authentication
- * request. This token is cryptographically signed so that it
- * cannot be forged without the auth secret from the consumer's
- * store.
- */
- var $token;
-
- /**
- * The identity URL of the user as sent to the server (if there is
- * a delegate, this is the delegate)
- */
- var $server_id;
-
- /**
- * The base URL of the OpenID server
- */
- var $server_url;
-
- /**
- * The replay-attack prevention nonce
- */
- var $nonce;
-
- /**
- * Constructor for use by the consumer
- *
- * @access private
- */
- function Auth_OpenID_AuthenticationRequest(
- $token, $server_id, $server_url, $nonce)
- {
- $this->token = $token;
- $this->server_id = $server_id;
- $this->server_url = $server_url;
- $this->nonce = $nonce;
- }
-}
-
-?> \ No newline at end of file
diff --git a/Auth/OpenID/Consumer.php b/Auth/OpenID/Consumer.php
index 714cb1d..61d1d1b 100644
--- a/Auth/OpenID/Consumer.php
+++ b/Auth/OpenID/Consumer.php
@@ -170,7 +170,6 @@
require_once "Auth/OpenID.php";
require_once "Auth/OpenID/HMACSHA1.php";
require_once "Auth/OpenID/Association.php";
-require_once "Auth/OpenID/AuthenticationRequest.php";
require_once "Auth/OpenID/CryptUtil.php";
require_once "Auth/OpenID/DiffieHellman.php";
require_once "Auth/OpenID/KVForm.php";