public function get_oauth_params( $params, $method ) {

		$params = array_merge( $params, array(
			'oauth_consumer_key'     => $this->consumer_key,
			'oauth_timestamp'        => time(),
			'oauth_nonce'            => sha1( microtime() ),
			'oauth_signature_method' => 'HMAC-' . self::HASH_ALGORITHM,
		) );

		// the params above must be included in the signature generation
		$params['oauth_signature'] = $this->generate_oauth_signature( $params, $method );

		return $params;
	}
public function get_oauth_params( $params, $method ) {

		$params = array_merge( $params, array(
			'oauth_consumer_key'     => $this->consumer_key,
			'oauth_timestamp'        => time(),
			'oauth_nonce'            => sha1( microtime() ),
			'oauth_signature_method' => 'HMAC-' . self::HASH_ALGORITHM,
		) );

		// the params above must be included in the signature generation
		$params['oauth_signature'] = $this->generate_oauth_signature( $params, $method );

		return $params;
	}
public function get_oauth_params ( $ params , $ method ) { $ params = array_merge ( $ params , array ( 'oauth_consumer_key' => $ this -> consumer_key , 'oauth_timestamp' => time ( ) , 'oauth_nonce' => sha1 ( microtime ( ) ) , 'oauth_signature_method' => 'HMAC-' . self :: HASH_ALGORITHM , ) ) ; // the params above must be included in the signature generation $ params [ 'oauth_signature' ] = $ this -> generate_oauth_signature ( $ params , $ method ) ; return $ params ; }
Generate the parameters required for OAuth 1.0a authentication

@since 2.0
@param $params
@param $method
@return array
Generate the parameters required for OAuth 1 . 0a authentication