PayPal\Auth\Oauth\OAuthSignatureMethodPLAINTEXT::build_signature PHP Method

build_signature() public method

- Chapter 9.4.1 ("Generating Signatures") Please note that the second encoding MUST NOT happen in the SignatureMethod, as OAuthRequest handles this!
public build_signature ( $request, $consumer, $token )
    public function build_signature($request, $consumer, $token)
    {
        $key_parts = array($consumer->secret, $token ? $token->secret : "");
        $key_parts = OAuthUtil::urlencode_rfc3986($key_parts);
        $key = implode('&', $key_parts);
        $request->base_string = $key;
        return $key;
    }
OAuthSignatureMethodPLAINTEXT