summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesus Fernandez <jesus.fernandez@qt.io>2017-06-21 15:48:13 +0200
committerJesus Fernandez <Jesus.Fernandez@qt.io>2017-07-10 15:48:57 +0000
commitf5dd963765c23e546c0291e39c6e664e176feb94 (patch)
tree3adddb9cf394c1eb04c04008e6b6b7ae39342a85
parentf4fcf2fceaa9106e65efe924a53738b6acf361b1 (diff)
Remove redundant links
The links were duplicated in the documentation. There is no need to keep the inline comment with the URL in the code. Change-Id: Ia231a34dce4ffb3ec8dbd6e0574783f5a1dee288 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
-rw-r--r--src/oauth/qoauth1.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/oauth/qoauth1.cpp b/src/oauth/qoauth1.cpp
index 1cb2788..02bf42d 100644
--- a/src/oauth/qoauth1.cpp
+++ b/src/oauth/qoauth1.cpp
@@ -654,7 +654,6 @@ QNetworkReply *QOAuth1::requestTemporaryCredentials(QNetworkAccessManager::Opera
const QUrl &url,
const QVariantMap &parameters)
{
- // https://tools.ietf.org/html/rfc5849#section-2.1
Q_D(QOAuth1);
d->token.clear();
d->tokenSecret.clear();
@@ -735,7 +734,6 @@ void QOAuth1::setup(QNetworkRequest *request,
*/
QByteArray QOAuth1::nonce()
{
- // https://tools.ietf.org/html/rfc5849#section-3.3
return QAbstractOAuth::generateRandomString(8);
}
@@ -747,7 +745,6 @@ QByteArray QOAuth1::nonce()
*/
QByteArray QOAuth1::generateAuthorizationHeader(const QVariantMap &oauthParams)
{
- // https://tools.ietf.org/html/rfc5849#section-3.5.1
// TODO Add realm parameter support
bool first = true;
QString ret(QStringLiteral("OAuth "));
@@ -779,7 +776,6 @@ QByteArray QOAuth1::generateAuthorizationHeader(const QVariantMap &oauthParams)
*/
void QOAuth1::grant()
{
- // https://tools.ietf.org/html/rfc5849#section-2
Q_D(QOAuth1);
using Key = QOAuth1Private::OAuth1KeyString;