[Bug 31900] New: add a TpSimplePasswordManager or similar
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Nov 24 18:26:39 CET 2010
https://bugs.freedesktop.org/show_bug.cgi?id=31900
Summary: add a TpSimplePasswordManager or similar
Product: Telepathy
Version: git master
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: tp-glib
AssignedTo: telepathy-bugs at lists.freedesktop.org
ReportedBy: jonny.lamb at collabora.co.uk
QAContact: telepathy-bugs at lists.freedesktop.org
So I basically just copy pasted haze's auth manager and channel into tp-ssip
for easy X-TELEPATHY-PASSWORD support. We should have some simple object in
tp-glib for just this.
Simon suggests the name TpSimplePasswordManager. It'll be a TpChannelManager
which you add in TpBaseConnectionClass->fill_channel_managers.
The API I suggest is:
1. a ::finished signal for notifying when done. Or, if you want, a
::got-password or something, and an ::error. It doesn't really matter.
2. tp_simple_password_manager_popup_channel to notify the manager to create a
new auth channel and let the world know about it.
That's about it. The way I've implemented it before is having the signal on the
channel itself, but seeing that the manager will only ever have one channel, we
could keep the simple auth channel out of the API and put the signal on the
manager.
What do you think about that then?
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list