original_string: public function authorize_url($client_id, $redirect_uri, $scope = 'AdministerAccount', $state = false) {
  		$qs = 'type=web_server';
  		$qs .= '&client_id=' . urlencode($client_id);
  		$qs .= '&redirect_uri=' . urlencode($redirect_uri);
  		$qs .= '&scope=' . urlencode($scope);
  		if ($state)
  			$qs .= '&state=' . urlencode($state);
  		return self::OAUTH_URL . '?' . $qs;
  	}
code: public function authorize_url($client_id, $redirect_uri, $scope = 'AdministerAccount', $state = false) {
  		$qs = 'type=web_server';
  		$qs .= '&client_id=' . urlencode($client_id);
  		$qs .= '&redirect_uri=' . urlencode($redirect_uri);
  		$qs .= '&scope=' . urlencode($scope);
  		if ($state)
  			$qs .= '&state=' . urlencode($state);
  		return self::OAUTH_URL . '?' . $qs;
  	}
code_tokens: public function authorize_url ( $ client_id , $ redirect_uri , $ scope = 'AdministerAccount' , $ state = false ) { $ qs = 'type=web_server' ; $ qs .= '&client_id=' . urlencode ( $ client_id ) ; $ qs .= '&redirect_uri=' . urlencode ( $ redirect_uri ) ; $ qs .= '&scope=' . urlencode ( $ scope ) ; if ( $ state ) $ qs .= '&state=' . urlencode ( $ state ) ; return self :: OAUTH_URL . '?' . $ qs ; }
docstring: Get the authorization URL for your application.
  
  @param $client_id int The Client ID of your registered OAuth application.
  @param $redirect_uri string The Redirect URI of your registered OAuth application.
  @param $scope string The comma-separated permission scope your application requires.
  @param $state string Optional state data to be included in the URL.
  @return string The authorization URL to which users of your application should be redirected.
  @access public
docstring_tokens: Get the authorization URL for your application .