summaryrefslogtreecommitdiff
path: root/plugins/shotwell-plugin-common.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-03-22 06:40:44 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-03-22 06:40:44 +0100
commit8e1c5a834469d804d28ee8ab2cbe2da8e600a789 (patch)
treeb9771456583eaead893cfd8f02e680b58a3da970 /plugins/shotwell-plugin-common.h
parent80a5f2d8b095e895a5424f90b2ce4684d94c1a32 (diff)
parent3253d99365813f2d2ffd05e10cbb8c11f53d746e (diff)
Merge tag 'upstream/0.26.0'
Upstream version 0.26.0
Diffstat (limited to 'plugins/shotwell-plugin-common.h')
-rw-r--r--plugins/shotwell-plugin-common.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/shotwell-plugin-common.h b/plugins/shotwell-plugin-common.h
index 731434a..3bcb68a 100644
--- a/plugins/shotwell-plugin-common.h
+++ b/plugins/shotwell-plugin-common.h
@@ -234,7 +234,6 @@ struct _PublishingRESTSupportGoogleSessionClass {
PublishingRESTSupportSessionClass parent_class;
gchar* (*get_user_name) (PublishingRESTSupportGoogleSession* self);
gchar* (*get_access_token) (PublishingRESTSupportGoogleSession* self);
- gchar* (*get_refresh_token) (PublishingRESTSupportGoogleSession* self);
void (*deauthenticate) (PublishingRESTSupportGoogleSession* self);
};
@@ -245,6 +244,7 @@ struct _PublishingRESTSupportGooglePublisher {
struct _PublishingRESTSupportGooglePublisherClass {
GObjectClass parent_class;
+ SpitPublishingAuthenticator* (*get_authenticator) (PublishingRESTSupportGooglePublisher* self);
void (*on_login_flow_complete) (PublishingRESTSupportGooglePublisher* self);
void (*do_logout) (PublishingRESTSupportGooglePublisher* self);
gboolean (*is_running) (PublishingRESTSupportGooglePublisher* self);
@@ -381,14 +381,13 @@ gchar* publishing_rest_support_asciify_string (const gchar* s);
GType publishing_rest_support_google_session_get_type (void) G_GNUC_CONST;
gchar* publishing_rest_support_google_session_get_user_name (PublishingRESTSupportGoogleSession* self);
gchar* publishing_rest_support_google_session_get_access_token (PublishingRESTSupportGoogleSession* self);
-gchar* publishing_rest_support_google_session_get_refresh_token (PublishingRESTSupportGoogleSession* self);
void publishing_rest_support_google_session_deauthenticate (PublishingRESTSupportGoogleSession* self);
PublishingRESTSupportGoogleSession* publishing_rest_support_google_session_construct (GType object_type);
GType publishing_rest_support_google_publisher_get_type (void) G_GNUC_CONST;
PublishingRESTSupportGooglePublisher* publishing_rest_support_google_publisher_construct (GType object_type, SpitPublishingService* service, SpitPublishingPluginHost* host, const gchar* scope);
+SpitPublishingAuthenticator* publishing_rest_support_google_publisher_get_authenticator (PublishingRESTSupportGooglePublisher* self);
SpitPublishingPluginHost* publishing_rest_support_google_publisher_get_host (PublishingRESTSupportGooglePublisher* self);
PublishingRESTSupportGoogleSession* publishing_rest_support_google_publisher_get_session (PublishingRESTSupportGooglePublisher* self);
-void publishing_rest_support_google_publisher_start_oauth_flow (PublishingRESTSupportGooglePublisher* self, const gchar* refresh_token);
void publishing_rest_support_google_publisher_on_login_flow_complete (PublishingRESTSupportGooglePublisher* self);
void publishing_rest_support_google_publisher_do_logout (PublishingRESTSupportGooglePublisher* self);
gboolean publishing_rest_support_google_publisher_is_running (PublishingRESTSupportGooglePublisher* self);