summaryrefslogtreecommitdiff
path: root/telepathy-glib/simple-password-manager.c
Commit message (Collapse)AuthorAgeFilesLines
* Use accessors rather than accessing TpBaseConnection fields directlySimon McVittie2012-06-041-2/+2
|
* Merge branch 'telepathy-glib-0.16'Simon McVittie2012-02-091-1/+7
|\ | | | | | | | | Conflicts: NEWS
| * TpSimplePasswordManager: copy the string into the resultSimon McVittie2012-02-091-1/+7
| | | | | | | | | | | | | | | | | | | | Otherwise, if a caller kept a ref to the GAsyncResult after control had returned to the channel, the channel could have freed the GString already. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=45554 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* | Add config.h include in all source filesXavier Claessens2012-02-061-0/+2
| |
* | Simplify _finish() functions using _tp_implement_finish_*Xavier Claessens2011-12-141-15/+3
|/
* TpSimplePasswordManager: don't keep a pointer to the challenge resultMikhail Zabaluev2011-11-081-4/+1
| | | | | The pointer goes stale when the result is consumed, and it trips an assertion if the manager gets a new challenge.
* prepare 0.13.15telepathy-glib-0.13.15Guillaume Desmottes2011-02-241-2/+2
|
* Rename TpSimplePasswordChannel to TpBasePasswordChannelJonathon Jongsma2011-02-241-10/+10
| | | | | Server-side base classes tend to be named TpBase*, so rename this class to make it more consistent with other base classes to be used by CMs.
* SimplePasswordManager: Add introspection annotationsJonathon Jongsma2011-02-241-6/+7
|
* TpSimplePasswordManager: add prompt_for_channel_finish()Jonathon Jongsma2011-02-241-41/+98
| | | | | | | | | Instead of having both prompt_async() and prompt_for_channel_async() call the same _finish() function, provide a separate function for the custom channel case. This function will also return the custom channel that was originally passed to prompt_for_channel_async(). This way, the API user doesn't need to carry around the channel in user_data in the case that they need to query the channel for information after the prompt has completed.
* SimplePasswordManager: add prompt_for_channel_async() APIJonathon Jongsma2011-02-241-16/+56
| | | | | | | This API allows applications to supply their own channel object to be used in the password manager. The use case for this is when an authentication channel needs to implement additional interfaces. In this case, they can inherit from TpSimplePasswordChannel and implement these custom interfaces in the subclass.
* Expose TpSimplePasswordChannel as public APIJonathon Jongsma2011-02-241-1/+1
|
* simple-password-manager: don't unref the channel after setting it to NULLJonny Lamb2010-12-021-2/+3
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* simple-password-manager: clear the simple password channel when it's closedJonny Lamb2010-12-021-0/+2
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Prepare version 0.13.8telepathy-glib-0.13.8Simon McVittie2010-12-011-4/+4
|
* simple-password-channel: add -internal suffix to headerJonny Lamb2010-11-251-1/+1
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* simple-password-channel: make ::finished return uint,int,string instead of ↵Jonny Lamb2010-11-251-2/+6
| | | | | | GError* Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* simple-password-manager: improve docsJonny Lamb2010-11-251-2/+89
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* simple-password-{manager,channel}: added first draftsJonny Lamb2010-11-251-0/+335
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>