original_string: public function get_login_url() {
  
          $callbackurl = self::callback_url();
          $params = array_merge(
              [
                  'client_id' => $this->clientid,
                  'response_type' => 'code',
                  'redirect_uri' => $callbackurl->out(false),
                  'state' => $this->returnurl->out_as_local_url(false),
                  'scope' => $this->scope,
              ],
              $this->get_additional_login_parameters()
          );
  
          return new moodle_url($this->auth_url(), $params);
      }
code: public function get_login_url() {
  
          $callbackurl = self::callback_url();
          $params = array_merge(
              [
                  'client_id' => $this->clientid,
                  'response_type' => 'code',
                  'redirect_uri' => $callbackurl->out(false),
                  'state' => $this->returnurl->out_as_local_url(false),
                  'scope' => $this->scope,
              ],
              $this->get_additional_login_parameters()
          );
  
          return new moodle_url($this->auth_url(), $params);
      }
code_tokens: public function get_login_url ( ) { $ callbackurl = self :: callback_url ( ) ; $ params = array_merge ( [ 'client_id' => $ this -> clientid , 'response_type' => 'code' , 'redirect_uri' => $ callbackurl -> out ( false ) , 'state' => $ this -> returnurl -> out_as_local_url ( false ) , 'scope' => $ this -> scope , ] , $ this -> get_additional_login_parameters ( ) ) ; return new moodle_url ( $ this -> auth_url ( ) , $ params ) ; }
docstring: Returns the login link for this oauth request
  
  @return moodle_url login url
docstring_tokens: Returns the login link for this oauth request