private function buildAuthorizationHeader($signatureParameters) {
        $authorizationHeader = 'OAuth realm=""';
        
        foreach ($signatureParameters as $key=>$value) {
            $authorizationHeader.=','.$key."=".'"'.urlencode($value).'"';
        }
        return $authorizationHeader;
    }
private function buildAuthorizationHeader($signatureParameters) {
        $authorizationHeader = 'OAuth realm=""';
        
        foreach ($signatureParameters as $key=>$value) {
            $authorizationHeader.=','.$key."=".'"'.urlencode($value).'"';
        }
        return $authorizationHeader;
    }
private function buildAuthorizationHeader ( $ signatureParameters ) { $ authorizationHeader = 'OAuth realm=""' ; foreach ( $ signatureParameters as $ key => $ value ) { $ authorizationHeader .= ',' . $ key . "=" . '"' . urlencode ( $ value ) . '"' ; } return $ authorizationHeader ; }
As per the OAuth body hashing specification, all of the OAuth parameters must be sent as part of the Authorization header.
In particular, OAuth parameters from the request URL and POST body will be ignored.
Return the Authorization header
As per the OAuth body hashing specification all of the OAuth parameters must be sent as part of the Authorization header . In particular OAuth parameters from the request URL and POST body will be ignored . Return the Authorization header