API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
plgAuthenticationOpenID::onAuthenticate | ( | $ | credentials, |
$ | options, | ||
&$ | response | ||
) |
This method should handle any authentication and report back to the subject
public
array | $credentials | Array holding the user credentials |
array | $options | Array of extra options (return, entry_url) |
object | $response | Authentication response object |
Références $db, $mainframe, $query, $session, JURI::base(), Auth_OpenID_SRegRequest::build(), JFolder::create(), JFolder::exists(), Auth_OpenID_SRegResponse::fromSuccessResponse(), JFactory::getApplication(), JFactory::getDBO(), JURI::getInstance(), JFactory::getSession(), JUtility::getToken(), Auth_OpenID::isFailure(), jimport(), params, JResponse::setBody(), et JResponse::toString().
plgAuthenticationOpenID::plgAuthenticationOpenID | ( | &$ | subject, |
$ | config | ||
) |
Constructor
For php4 compatability we must not use the __constructor as a constructor for plugins because func_get_args ( void ) returns a copy of all passed arguments NOT references. This causes problems with cross-referencing necessary for the observer design pattern.
object | $subject | The object to observe |
array | $config | An array that holds the plugin configuration |
Références $config.