diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-01-08 20:56:09 +0000 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-01-08 20:56:09 +0000 |
commit | 07e9e2dc3241eef1b803e655a5273f79cb758806 (patch) | |
tree | 0846f3e3cbefd39041e580bffbc7556eb7f45c93 /_darcs/pristine/extlib/Auth/OpenID/Extension.php | |
parent | e67affdbbcdcaa9f43750389922b802d0b425ddb (diff) |
Remove _darcs from git repository
Not sure how or why this got in there.
Diffstat (limited to '_darcs/pristine/extlib/Auth/OpenID/Extension.php')
-rw-r--r-- | _darcs/pristine/extlib/Auth/OpenID/Extension.php | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/_darcs/pristine/extlib/Auth/OpenID/Extension.php b/_darcs/pristine/extlib/Auth/OpenID/Extension.php deleted file mode 100644 index f362a4b38..000000000 --- a/_darcs/pristine/extlib/Auth/OpenID/Extension.php +++ /dev/null @@ -1,62 +0,0 @@ -<?php - -/** - * An interface for OpenID extensions. - * - * @package OpenID - */ - -/** - * Require the Message implementation. - */ -require_once 'Auth/OpenID/Message.php'; - -/** - * A base class for accessing extension request and response data for - * the OpenID 2 protocol. - * - * @package OpenID - */ -class Auth_OpenID_Extension { - /** - * ns_uri: The namespace to which to add the arguments for this - * extension - */ - var $ns_uri = null; - var $ns_alias = null; - - /** - * Get the string arguments that should be added to an OpenID - * message for this extension. - */ - function getExtensionArgs() - { - return null; - } - - /** - * Add the arguments from this extension to the provided message. - * - * Returns the message with the extension arguments added. - */ - function toMessage(&$message) - { - $implicit = $message->isOpenID1(); - $added = $message->namespaces->addAlias($this->ns_uri, - $this->ns_alias, - $implicit); - - if ($added === null) { - if ($message->namespaces->getAlias($this->ns_uri) != - $this->ns_alias) { - return null; - } - } - - $message->updateArgs($this->ns_uri, - $this->getExtensionArgs()); - return $message; - } -} - -?>
\ No newline at end of file |