/telepathy-accounts-signon

Telepathy providers for libaccounts/libsignon borrowed from Empathy.

Primary LanguageCGNU General Public License v2.0GPL-2.0

A mission control plugin and authentication handler for Telepathy, integrating
with libaccounts and libsignon to provide IM accounts and authentication.
This code is kindly borrowed from Empathy's ubuntu-online-account support,
but not intended to keep compatibility with UOA.

The code is deliberately kept mostly similar to the upstream empathy code for
now, since there's limited effort towards maintaining it separately.

The auth handler will be invoked by telepathy when needed to authenticate a
connection. That account is looked up with libaccounts, and then its credentials
are found from libsignon, and used along with various SASL mechanisms to sign
into the account.

In Empathy, this component also displays a dialog when credentials fail and need
to be re-entered, and supports updating those credentials in libsignon. That
functionality does not exist here, and all other GTK usage was removed.

In Empathy, this component is also responsible for verifying TLS certificates,
and displaying a dialog to the user to interactively bypass failing certificates.
Without the dialog, that functionality seems redundant to what telepathy CMs provide,
so it is also clumsily disabled but left largely intact in case it's needed later.

qmake is used for build as a convenience. There is no other Qt dependency at present.

Code is forked off of Empathy git at EMPATHY_3_7_2-10-ga89694c