public function baseString($request, $oauthValues)
    {
        $parts = [
            $request->getMethod(),
            $this->_normalizedUrl($request->getUri()),
            $this->_normalizedParams($request, $oauthValues),
        ];
        $parts = array_map([$this, '_encode'], $parts);

        return implode('&', $parts);
    }
public function baseString($request, $oauthValues)
    {
        $parts = [
            $request->getMethod(),
            $this->_normalizedUrl($request->getUri()),
            $this->_normalizedParams($request, $oauthValues),
        ];
        $parts = array_map([$this, '_encode'], $parts);

        return implode('&', $parts);
    }
public function baseString ( $ request , $ oauthValues ) { $ parts = [ $ request -> getMethod ( ) , $ this -> _normalizedUrl ( $ request -> getUri ( ) ) , $ this -> _normalizedParams ( $ request , $ oauthValues ) , ] ; $ parts = array_map ( [ $ this , '_encode' ] , $ parts ) ; return implode ( '&' , $ parts ) ; }
Generate the Oauth basestring

- Querystring, request data and oauth_* parameters are combined.
- Values are sorted by name and then value.
- Request values are concatenated and urlencoded.
- The request URL (without querystring) is normalized.
- The HTTP method, URL and request parameters are concatenated and returned.

@param \Cake\Http\Client\Request $request The request object.
@param array $oauthValues Oauth values.
@return string
Generate the Oauth basestring