Source for file AX.php
Documentation is available at AX.php
* @author Bill Shupp <hostmaster@shupp.org>
* @copyright 2009 Bill Shupp
* @license http://www.opensource.org/licenses/bsd-license.php FreeBSD
* @link http://pearopenid.googlecode.com
require_once 'OpenID/Extension.php';
require_once 'Validate.php';
* Support for the AX extension
* @author Bill Shupp <hostmaster@shupp.org>
* @copyright 2009 Bill Shupp
* @license http://www.opensource.org/licenses/bsd-license.php FreeBSD
* @link http://pearopenid.googlecode.com
* URL for the openid.ns.ax parameter
protected $namespace =
'http://openid.net/srv/ax/1.0';
* Valid modes for AX requests/responses
'store_response_success',
'store_response_failure',
* Adds some validation checking when setting a key, then calls the parent set()
* @param string $key Message key
* @param mixed $value Key's value
public function set($key, $value)
if (strpos($key, 'mode') ===
0
&&
!Validate::uri($value)) {
parent::set($key, $value);
Documentation generated on Tue, 15 Dec 2009 19:00:51 -0800 by phpDocumentor 1.4.3