Update comment about X-GOOGLE-TOKEN auth.

This commit is contained in:
John Maguire 2011-03-01 16:18:55 +00:00
parent 86919cc0ff
commit 4acd6883cc

View File

@ -66,7 +66,8 @@ void RemoteConfig::Validate() {
ValidateGoogleAccount(ui_->username->text(), ui_->password->text()); ValidateGoogleAccount(ui_->username->text(), ui_->password->text());
} }
// Validates a Google account against ClientLogin: // Validates a Google account against ClientLogin and fetches a token usable for
// X-GOOGLE-TOKEN SASL authentication for Google Talk:
// http://code.google.com/apis/accounts/docs/AuthForInstalledApps.html#ClientLogin // http://code.google.com/apis/accounts/docs/AuthForInstalledApps.html#ClientLogin
void RemoteConfig::ValidateGoogleAccount(const QString& username, const QString& password) { void RemoteConfig::ValidateGoogleAccount(const QString& username, const QString& password) {
QNetworkRequest request = QNetworkRequest(QUrl(kClientLoginUrl)); QNetworkRequest request = QNetworkRequest(QUrl(kClientLoginUrl));