summaryrefslogtreecommitdiff
path: root/src/plugins/PublishingInterfaces.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2024-02-22 17:32:27 +0100
committerJörg Frings-Fürst <debian@jff.email>2024-02-22 17:32:27 +0100
commit2bb26608f735b6fc90c06a56793e1cf6e164830a (patch)
tree0b7ca7dcaaeb737b7e539ce4c3992d18c6949370 /src/plugins/PublishingInterfaces.vala
parent5c6c59a0325c2f3cc611b8186ac289d011c14369 (diff)
parent5303f650e34763817d7eeb1d3ba774bdec3e1a38 (diff)
Update upstream source from tag 'upstream/0.32.6'
Update to upstream version '0.32.6' with Debian dir 5219d541f047c3ea70dcf1edb7897dd0a7dedfb1
Diffstat (limited to 'src/plugins/PublishingInterfaces.vala')
-rw-r--r--src/plugins/PublishingInterfaces.vala7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/PublishingInterfaces.vala b/src/plugins/PublishingInterfaces.vala
index 05b161f..84cb943 100644
--- a/src/plugins/PublishingInterfaces.vala
+++ b/src/plugins/PublishingInterfaces.vala
@@ -92,6 +92,9 @@ public errordomain PublishingError {
SSL_FAILED
}
+public interface AuthenticatedCallback : Object {
+ public abstract void authenticated(HashTable<string, string> params);
+}
/**
* Represents a connection to a publishing service.
*
@@ -503,6 +506,10 @@ public interface PluginHost : GLib.Object, Spit.HostInterface {
*/
public abstract Spit.Publishing.Publisher.MediaType get_publishable_media_type();
+
+ public abstract void register_auth_callback(string cookie, AuthenticatedCallback callback);
+ public abstract void unregister_auth_callback(string cookie);
+
//
// For future expansion.
//