I want to create a Joomla authentication plugin which will execute some business logic before letting the user to authenticate, but I want to let the default authentication plugin to do that for me.
What I want to do is:
function onAuthenticate($credentials, $options, &$response) {
// My business logic
// Execute the onAuthenticate event of the default Joomla authentication plugin
// which can be Joomla, OpenId etc.
}
So in my onAuthenticate function, I want to call the default authentication plugin's onAuthenticate function.
Any ideas? Sorry guys, I'm new to Joomla extension development. Thanks for any help.
我通过仅将插件和joomla身份验证插件同时激活来解决了问题,并在插件的“订单”列中设置了0,以便在Joomla的auth插件之前将onAuthenticate通知给它。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.