Commit b04dcdbd authored by Diogo Silva's avatar Diogo Silva
Browse files

CloudProvider: updated keys

parent 6a142b01
......@@ -291,6 +291,11 @@ bool AmazonDrive::reauthorize(int code) const {
}
AmazonDrive::Auth::Auth() {
// The only port with whitelist for this client is 12345 and the applications
// for accessing Amazon Drive API are closed. So there is no chance to change
// the redirect port to 8080 until they allow new devs.
// https://developer.amazon.com/amazon-drive "The Amazon Drive API and SDKs
// are currently closed to new developers."
set_client_id(
"amzn1.application-oa2-client.04f642253f4e43668e5b1441ecf263f0");
set_client_secret(
......
......@@ -246,8 +246,8 @@ IItem::Pointer Box::toItem(const Json::Value& v) const {
}
Box::Auth::Auth() {
set_client_id("zmiv9tv13hunxhyjk16zqv8dmdw0d773");
set_client_secret("IZ0T8WsUpJin7Qt3rHMf7qDAIFAkYZ0R");
set_client_id("qpqa8g2awvddppocjp2klh4o4y288c89");
set_client_secret("8JPLHtPsO5PL4PIEsVFKbn8XzgKt2Bjk");
}
std::string Box::Auth::authorizeLibraryUrl() const {
......
......@@ -265,8 +265,8 @@ IItem::Pointer Dropbox::toItem(const Json::Value& v) {
}
Dropbox::Auth::Auth() {
set_client_id("ktryxp68ae5cicj");
set_client_secret("6evu94gcxnmyr59");
set_client_id("ydqfp8ik55zrj9v");
set_client_secret("2991y2rcg4htbfh");
}
std::string Dropbox::Auth::authorizeLibraryUrl() const {
......
......@@ -201,9 +201,9 @@ IItem::Pointer GoogleDrive::toItem(const Json::Value& v) const {
GoogleDrive::Auth::Auth() {
set_client_id(
"646432077068-hmvk44qgo6d0a64a5h9ieue34p3j2dcv.apps.googleusercontent."
"521438174146-e1cikedqpslrjrphd3quoa5ot9mq9k44.apps.googleusercontent."
"com");
set_client_secret("1f0FG5ch-kKOanTAv1Bqdp9U");
set_client_secret("v5wull_LhE3_yJoqh5fgaa7a");
}
std::string GoogleDrive::Auth::authorizeLibraryUrl() const {
......
......@@ -437,7 +437,7 @@ void MegaNz::initialize(InitData&& data) {
});
if (!mega_)
mega_ =
util::make_unique<MegaApi>("ZVhB0Czb", temporary_directory_.c_str());
util::make_unique<MegaApi>("4T4khZxJ", temporary_directory_.c_str());
if (file_url_.empty()) file_url_ = DEFAULT_FILE_URL;
}
CloudProvider::initialize(std::move(data));
......
......@@ -221,8 +221,8 @@ std::vector<IItem::Pointer> OneDrive::listDirectoryResponse(
}
OneDrive::Auth::Auth() {
set_client_id("56a1d60f-ea71-40e9-a489-b87fba12a23e");
set_client_secret("zJRAsd0o4E9c33q4OLc7OhY");
set_client_id("f4e81165-c8fc-4018-ad8d-316faf8db084");
set_client_secret("ngVegfKeSze2eZyajSgaC9Z");
}
std::string OneDrive::Auth::authorizeLibraryUrl() const {
......
......@@ -350,8 +350,8 @@ void YandexDisk::authorizeRequest(IHttpRequest& request) const {
}
YandexDisk::Auth::Auth() {
set_client_id("04d700d432884c4381c07e760213ed8a");
set_client_secret("197f9693caa64f0ebb51d201110074f9");
set_client_id("e2a57a217113406999d521fc2234dbcb");
set_client_secret("7090e0844c634e9baff3735fd6e199de");
}
std::string YandexDisk::Auth::authorizeLibraryUrl() const {
......
Supports Markdown
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