private function authorise()
	{
		$url = $this->getOption('authoriseURL') . '?oauth_token=' . $this->token['key'];

		if ($this->getOption('scope'))
		{
			$scope = \is_array($this->getOption('scope')) ? implode(' ', $this->getOption('scope')) : $this->getOption('scope');
			$url .= '&scope=' . urlencode($scope);
		}

		if ($this->getOption('sendheaders'))
		{
			$this->application->redirect($url);
		}
	}
private function authorise()
	{
		$url = $this->getOption('authoriseURL') . '?oauth_token=' . $this->token['key'];

		if ($this->getOption('scope'))
		{
			$scope = \is_array($this->getOption('scope')) ? implode(' ', $this->getOption('scope')) : $this->getOption('scope');
			$url .= '&scope=' . urlencode($scope);
		}

		if ($this->getOption('sendheaders'))
		{
			$this->application->redirect($url);
		}
	}
private function authorise ( ) { $ url = $ this -> getOption ( 'authoriseURL' ) . '?oauth_token=' . $ this -> token [ 'key' ] ; if ( $ this -> getOption ( 'scope' ) ) { $ scope = \ is_array ( $ this -> getOption ( 'scope' ) ) ? implode ( ' ' , $ this -> getOption ( 'scope' ) ) : $ this -> getOption ( 'scope' ) ; $ url .= '&scope=' . urlencode ( $ scope ) ; } if ( $ this -> getOption ( 'sendheaders' ) ) { $ this -> application -> redirect ( $ url ) ; } }
Method used to authorise the application.

@return  void

@since   1.1.2
Method used to authorise the application .