public \Joomla\CMS\Authentication\AuthenticationResponse[]
authorise
(mixed $response, mixed $options = array())
/**
* Authorises that a particular user should be able to login
*
* @param AuthenticationResponse $response response including username of the user to authorise
* @param array $options list of options
*
* @return AuthenticationResponse[] Array of authentication response objects
*
* @since 1.7.0
* @throws \Exception
*/
public function authorise($response, $options = array())
{
// Get plugins in case they haven't been imported already
PluginHelper::importPlugin('user');
$results = Factory::getApplication()->triggerEvent('onUserAuthorisation', array($response, $options));
return $results;
}