⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 extension.php

📁 简介:IceBB是一个强大
💻 PHP
字号:
<?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)    {        if ($message->namespaces->addAlias($this->ns_uri,                                           $this->ns_alias) === null) {            if ($message->namespaces->getAlias($this->ns_uri) !=                $this->ns_alias) {                return null;            }        }        $message->updateArgs($this->ns_uri,                             $this->getExtensionArgs());        return $message;    }}?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -