[shotwell] No need for request phase tokens in Flickr publisher
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell] No need for request phase tokens in Flickr publisher
- Date: Sat, 11 Feb 2017 18:35:41 +0000 (UTC)
commit a90cf2623f57ec50f1ad2284a7ae552f33381be4
Author: Jens Georg <mail jensge org>
Date: Wed Jan 4 11:37:43 2017 +0100
No need for request phase tokens in Flickr publisher
Signed-off-by: Jens Georg <mail jensge org>
plugins/shotwell-publishing/FlickrPublishing.vala | 10 +---------
1 files changed, 1 insertions(+), 9 deletions(-)
---
diff --git a/plugins/shotwell-publishing/FlickrPublishing.vala
b/plugins/shotwell-publishing/FlickrPublishing.vala
index 6d0fd79..7478778 100644
--- a/plugins/shotwell-publishing/FlickrPublishing.vala
+++ b/plugins/shotwell-publishing/FlickrPublishing.vala
@@ -171,21 +171,13 @@ public class FlickrPublisher : Spit.Publishing.Publisher, GLib.Object {
var params = this.authenticator.get_authentication_parameter();
Variant consumer_key = null;
Variant consumer_secret = null;
- Variant request_token = null;
- Variant request_token_secret = null;
Variant auth_token = null;
Variant auth_token_secret = null;
Variant username = null;
params.lookup_extended("ConsumerKey", null, out consumer_key);
params.lookup_extended("ConsumerSecret", null, out consumer_secret);
- session.set_api_credentials(consumer_key.get_string(),
- consumer_secret.get_string());
-
- params.lookup_extended("RequestToken", null, out request_token);
- params.lookup_extended("RequestTokenSecret", null, out request_token_secret);
- session.set_request_phase_credentials(request_token.get_string(),
- request_token_secret.get_string());
+ session.set_api_credentials(consumer_key.get_string(), consumer_secret.get_string());
params.lookup_extended("AuthToken", null, out auth_token);
params.lookup_extended("AuthTokenSecret", null, out auth_token_secret);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]