private function prepare_oauth1_params() {
    $defaults = array(
      'oauth_nonce'            => $this->nonce(),
      'oauth_timestamp'        => $this->timestamp(),
      'oauth_version'          => $this->config['oauth_version'],
      'oauth_consumer_key'     => $this->config['consumer_key'],
      'oauth_signature_method' => $this->config['oauth_signature_method'],
    );

    // include the user token if it exists
    if ( $oauth_token = $this->token() )
      $defaults['oauth_token'] = $oauth_token;

    $this->request_settings['oauth1_params'] = array();

    // safely encode
    foreach ($defaults as $k => $v) {
      $this->request_settings['oauth1_params'][$this->safe_encode($k)] = $this->safe_encode($v);
    }
  }
private function prepare_oauth1_params() {
    $defaults = array(
      'oauth_nonce'            => $this->nonce(),
      'oauth_timestamp'        => $this->timestamp(),
      'oauth_version'          => $this->config['oauth_version'],
      'oauth_consumer_key'     => $this->config['consumer_key'],
      'oauth_signature_method' => $this->config['oauth_signature_method'],
    );

    // include the user token if it exists
    if ( $oauth_token = $this->token() )
      $defaults['oauth_token'] = $oauth_token;

    $this->request_settings['oauth1_params'] = array();

    // safely encode
    foreach ($defaults as $k => $v) {
      $this->request_settings['oauth1_params'][$this->safe_encode($k)] = $this->safe_encode($v);
    }
  }
private function prepare_oauth1_params ( ) { $ defaults = array ( 'oauth_nonce' => $ this -> nonce ( ) , 'oauth_timestamp' => $ this -> timestamp ( ) , 'oauth_version' => $ this -> config [ 'oauth_version' ] , 'oauth_consumer_key' => $ this -> config [ 'consumer_key' ] , 'oauth_signature_method' => $ this -> config [ 'oauth_signature_method' ] , ) ; // include the user token if it exists if ( $ oauth_token = $ this -> token ( ) ) $ defaults [ 'oauth_token' ] = $ oauth_token ; $ this -> request_settings [ 'oauth1_params' ] = array ( ) ; // safely encode foreach ( $ defaults as $ k => $ v ) { $ this -> request_settings [ 'oauth1_params' ] [ $ this -> safe_encode ( $ k ) ] = $ this -> safe_encode ( $ v ) ; } }
Prepares OAuth1 signing parameters.

@return void all required OAuth parameters, safely encoded, are stored to the class variable '$this->request_settings['oauth1_params']'
Prepares OAuth1 signing parameters .