Commit 8d1ea38f authored by Jesus Fernandez's avatar Jesus Fernandez

Renamed variable

parent 1f27e4cb
......@@ -632,11 +632,11 @@ QByteArray QOAuth1::nonce()
QByteArray QOAuth1::signature(const QVariantMap &parameters,
const QUrl &url,
QNetworkAccessManager::Operation op,
const QString &consumerSecret,
const QString &clientSharedSecret,
const QString &tokenSecret)
{
auto method = static_cast<QOAuth1Signature::HttpRequestMethod>(op);
QOAuth1Signature signature(url, consumerSecret, tokenSecret, method, parameters);
QOAuth1Signature signature(url, clientSharedSecret, tokenSecret, method, parameters);
return signature.hmacSha1().toBase64();
}
......
......@@ -148,7 +148,7 @@ protected:
static QByteArray signature(const QVariantMap &parameters,
const QUrl &url,
QNetworkAccessManager::Operation op,
const QString &consumerSecret,
const QString &clientSharedSecret,
const QString &tokenSecret);
private:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment