public function authorise($response, $options = array())
	{
		// Get plugins in case they haven't been loaded already
		$this->app['plugin']->byType('user');
		$this->app['plugin']->byType('authentication');

		return $this->app['dispatcher']->trigger('onUserAuthorisation', array($response, $options));
	}
public function authorise($response, $options = array())
	{
		// Get plugins in case they haven't been loaded already
		$this->app['plugin']->byType('user');
		$this->app['plugin']->byType('authentication');

		return $this->app['dispatcher']->trigger('onUserAuthorisation', array($response, $options));
	}
public function authorise ( $ response , $ options = array ( ) ) { // Get plugins in case they haven't been loaded already $ this -> app [ 'plugin' ] -> byType ( 'user' ) ; $ this -> app [ 'plugin' ] -> byType ( 'authentication' ) ; return $ this -> app [ 'dispatcher' ] -> trigger ( 'onUserAuthorisation' , array ( $ response , $ options ) ) ; }
Authorises that a particular user should be able to login

@param   object  $response  response including username of the user to authorise
@param   array   $options   list of options
@return  array   Results of authorisation
Authorises that a particular user should be able to login