Commit 0257fbe6 authored by John Brooks's avatar John Brooks

Install service files for handling SASL auth channels

parent 74a144f4
[org.freedesktop.Telepathy.Client]
Interfaces=org.freedesktop.Telepathy.Client.Handler;org.freedesktop.Telepathy.Client.Observer
[org.freedesktop.Telepathy.Client.Observer]
DelayApprovers=true
[org.freedesktop.Telepathy.Client.Handler.HandlerChannelFilter 0]
org.freedesktop.Telepathy.Channel.ChannelType s=org.freedesktop.Telepathy.Channel.Type.ServerAuthentication
org.freedesktop.Telepathy.Channel.Type.ServerAuthentication.AuthenticationMethod s=org.freedesktop.Telepathy.Channel.Interface.SASLAuthentication
[org.freedesktop.Telepathy.Client.Observer.ObserverChannelFilter 0]
org.freedesktop.Telepathy.Channel.ChannelType s=org.freedesktop.Telepathy.Channel.Type.ServerAuthentication
org.freedesktop.Telepathy.Channel.Type.ServerAuthentication.AuthenticationMethod s=org.freedesktop.Telepathy.Channel.Interface.SASLAuthentication
......@@ -648,6 +648,7 @@ empathy_auth_factory_constructed (GObject *obj)
tp_base_client_set_handler_bypass_approval (client, FALSE);
/* Handle ServerTLSConnection and ServerAuthentication channels */
#if 0
tp_base_client_take_handler_filter (client, tp_asv_new (
/* ChannelType */
TP_PROP_CHANNEL_CHANNEL_TYPE, G_TYPE_STRING,
......@@ -655,6 +656,7 @@ empathy_auth_factory_constructed (GObject *obj)
/* AuthenticationMethod */
TP_PROP_CHANNEL_TARGET_HANDLE_TYPE, G_TYPE_UINT,
TP_HANDLE_TYPE_NONE, NULL));
#endif
tp_base_client_take_handler_filter (client, tp_asv_new (
/* ChannelType */
......@@ -757,7 +759,7 @@ empathy_auth_factory_new (TpSimpleClientFactory *factory)
{
return g_object_new (EMPATHY_TYPE_AUTH_FACTORY,
"factory", factory,
"name", "Empathy.Auth",
"name", "SaslSignonAuth",
NULL);
}
......
[D-BUS Service]
Name=org.freedesktop.Telepathy.Client.SaslSignonAuth
Exec=/usr/libexec/telepathy-sasl-client
......@@ -11,3 +11,13 @@ SOURCES += empathy-auth-client.c \
empathy-uoa-utils.c \
empathy-sasl-mechanisms.c
target.path = /usr/libexec/
service.files = org.freedesktop.Telepathy.Client.SaslSignonAuth.service
service.path = /usr/share/dbus-1/services/
client.files = SaslSignonAuth.client
client.path = /usr/share/telepathy/clients/
INSTALLS += target service client
Markdown is supported
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