Php 扩展Joomla认证插件

Php 扩展Joomla认证插件,php,joomla,Php,Joomla,我想创建一个Joomla身份验证插件,它将在允许用户进行身份验证之前执行一些业务逻辑,但我想让默认的身份验证插件为我完成这项工作 我想做的是: function onAuthenticate($credentials, $options, &$response) { // My business logic // Execute the onAuthenticate event of the default Joomla authentication plugin

我想创建一个Joomla身份验证插件,它将在允许用户进行身份验证之前执行一些业务逻辑,但我想让默认的身份验证插件为我完成这项工作

我想做的是:

function onAuthenticate($credentials, $options, &$response) {

    // My business logic

    // Execute the onAuthenticate event of the default Joomla authentication plugin
    // which can be Joomla, OpenId etc.

}
因此,在我的onAuthenticate函数中,我想调用默认身份验证插件的onAuthenticate函数

有什么想法吗?对不起,伙计们,我是Joomla扩展开发的新手。
谢谢您的帮助。

我解决了这个问题,只需将我的插件和joomla身份验证插件一起激活,我在插件的顺序列中设置了0,这样它就会在joomla的身份验证插件之前收到关于onAuthenticate的通知。

您应该将您的解决方案作为答案添加进来,然后选择它作为最佳答案,以防其他人使用有相同或相似的问题。与其将答案作为问题的编辑发布,请将其作为以下答案发布。您可以在2天内接受。目前,它将显示为未应答。对不起,我不习惯stackoverflow。现在我想应该没事了。