30
33
<h2><span class="refentrytitle"><a name="telepathy-glib-channel-auth.top_of_page"></a>Channel Authentication interfaces</span></h2>
31
34
<p>Channel Authentication interfaces — client-side wrappers for authentication channels</p>
33
<td class="gallery_image" valign="top" align="right"></td>
36
<td valign="top" align="right"></td>
34
37
</tr></table></div>
35
<div class="refsect1">
36
<a name="telepathy-glib-channel-auth.functions"></a><h2>Functions</h2>
37
<div class="informaltable"><table width="100%" border="0">
39
<col width="150px" class="functions_return">
40
<col class="functions_name">
44
<td class="function_type">
45
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
47
<td class="function_name">
48
<a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-call-abort-sasl" title="tp_cli_channel_interface_sasl_authentication_call_abort_sasl ()">tp_cli_channel_interface_sasl_authentication_call_abort_sasl</a> <span class="c_punctuation">()</span>
52
<td class="function_type">
53
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
55
<td class="function_name">
56
<a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-call-accept-sasl" title="tp_cli_channel_interface_sasl_authentication_call_accept_sasl ()">tp_cli_channel_interface_sasl_authentication_call_accept_sasl</a> <span class="c_punctuation">()</span>
60
<td class="function_type">
61
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
63
<td class="function_name">
64
<a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-call-respond" title="tp_cli_channel_interface_sasl_authentication_call_respond ()">tp_cli_channel_interface_sasl_authentication_call_respond</a> <span class="c_punctuation">()</span>
68
<td class="function_type">
69
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
71
<td class="function_name">
72
<a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-call-start-mechanism" title="tp_cli_channel_interface_sasl_authentication_call_start_mechanism ()">tp_cli_channel_interface_sasl_authentication_call_start_mechanism</a> <span class="c_punctuation">()</span>
76
<td class="function_type">
77
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
79
<td class="function_name">
80
<a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-call-start-mechanism-with-data" title="tp_cli_channel_interface_sasl_authentication_call_start_mechanism_with_data ()">tp_cli_channel_interface_sasl_authentication_call_start_mechanism_with_data</a> <span class="c_punctuation">()</span>
84
<td class="function_type">
85
<span class="returnvalue">void</span>
87
<td class="function_name">
88
<span class="c_punctuation">(</span><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-callback-for-abort-sasl" title="tp_cli_channel_interface_sasl_authentication_callback_for_abort_sasl ()">*tp_cli_channel_interface_sasl_authentication_callback_for_abort_sasl</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
92
<td class="function_type">
93
<span class="returnvalue">void</span>
95
<td class="function_name">
96
<span class="c_punctuation">(</span><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-callback-for-accept-sasl" title="tp_cli_channel_interface_sasl_authentication_callback_for_accept_sasl ()">*tp_cli_channel_interface_sasl_authentication_callback_for_accept_sasl</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
100
<td class="function_type">
101
<span class="returnvalue">void</span>
103
<td class="function_name">
104
<span class="c_punctuation">(</span><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-callback-for-respond" title="tp_cli_channel_interface_sasl_authentication_callback_for_respond ()">*tp_cli_channel_interface_sasl_authentication_callback_for_respond</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
108
<td class="function_type">
109
<span class="returnvalue">void</span>
111
<td class="function_name">
112
<span class="c_punctuation">(</span><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-callback-for-start-mechanism" title="tp_cli_channel_interface_sasl_authentication_callback_for_start_mechanism ()">*tp_cli_channel_interface_sasl_authentication_callback_for_start_mechanism</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
116
<td class="function_type">
117
<span class="returnvalue">void</span>
119
<td class="function_name">
120
<span class="c_punctuation">(</span><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-callback-for-start-mechanism-with-data" title="tp_cli_channel_interface_sasl_authentication_callback_for_start_mechanism_with_data ()">*tp_cli_channel_interface_sasl_authentication_callback_for_start_mechanism_with_data</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
124
<td class="function_type">
125
<a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> *
127
<td class="function_name">
128
<a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-connect-to-new-challenge" title="tp_cli_channel_interface_sasl_authentication_connect_to_new_challenge ()">tp_cli_channel_interface_sasl_authentication_connect_to_new_challenge</a> <span class="c_punctuation">()</span>
132
<td class="function_type">
133
<a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> *
135
<td class="function_name">
136
<a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-connect-to-sasl-status-changed" title="tp_cli_channel_interface_sasl_authentication_connect_to_sasl_status_changed ()">tp_cli_channel_interface_sasl_authentication_connect_to_sasl_status_changed</a> <span class="c_punctuation">()</span>
140
<td class="function_type">
141
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
143
<td class="function_name">
144
<a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-captcha-authentication-call-answer-captchas" title="tp_cli_channel_interface_captcha_authentication_call_answer_captchas ()">tp_cli_channel_interface_captcha_authentication_call_answer_captchas</a> <span class="c_punctuation">()</span>
148
<td class="function_type">
149
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
151
<td class="function_name">
152
<a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-captcha-authentication-call-cancel-captcha" title="tp_cli_channel_interface_captcha_authentication_call_cancel_captcha ()">tp_cli_channel_interface_captcha_authentication_call_cancel_captcha</a> <span class="c_punctuation">()</span>
156
<td class="function_type">
157
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
159
<td class="function_name">
160
<a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-captcha-authentication-call-get-captcha-data" title="tp_cli_channel_interface_captcha_authentication_call_get_captcha_data ()">tp_cli_channel_interface_captcha_authentication_call_get_captcha_data</a> <span class="c_punctuation">()</span>
164
<td class="function_type">
165
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
167
<td class="function_name">
168
<a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-captcha-authentication-call-get-captchas" title="tp_cli_channel_interface_captcha_authentication_call_get_captchas ()">tp_cli_channel_interface_captcha_authentication_call_get_captchas</a> <span class="c_punctuation">()</span>
172
<td class="function_type">
173
<span class="returnvalue">void</span>
175
<td class="function_name">
176
<span class="c_punctuation">(</span><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-captcha-authentication-callback-for-answer-captchas" title="tp_cli_channel_interface_captcha_authentication_callback_for_answer_captchas ()">*tp_cli_channel_interface_captcha_authentication_callback_for_answer_captchas</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
180
<td class="function_type">
181
<span class="returnvalue">void</span>
183
<td class="function_name">
184
<span class="c_punctuation">(</span><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-captcha-authentication-callback-for-cancel-captcha" title="tp_cli_channel_interface_captcha_authentication_callback_for_cancel_captcha ()">*tp_cli_channel_interface_captcha_authentication_callback_for_cancel_captcha</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
188
<td class="function_type">
189
<span class="returnvalue">void</span>
191
<td class="function_name">
192
<span class="c_punctuation">(</span><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-captcha-authentication-callback-for-get-captcha-data" title="tp_cli_channel_interface_captcha_authentication_callback_for_get_captcha_data ()">*tp_cli_channel_interface_captcha_authentication_callback_for_get_captcha_data</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
196
<td class="function_type">
197
<span class="returnvalue">void</span>
199
<td class="function_name">
200
<span class="c_punctuation">(</span><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-captcha-authentication-callback-for-get-captchas" title="tp_cli_channel_interface_captcha_authentication_callback_for_get_captchas ()">*tp_cli_channel_interface_captcha_authentication_callback_for_get_captchas</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
206
<div class="refsect1">
207
<a name="telepathy-glib-channel-auth.object-hierarchy"></a><h2>Object Hierarchy</h2>
211
<div class="refsect1">
212
<a name="telepathy-glib-channel-auth.includes"></a><h2>Includes</h2>
213
<pre class="synopsis">#include <telepathy-glib/telepathy-glib-dbus.h>
38
<div class="refsynopsisdiv">
39
<a name="telepathy-glib-channel-auth.synopsis"></a><h2>Synopsis</h2>
40
<pre class="synopsis">
41
#include <telepathy-glib/telepathy-glib-dbus.h>
43
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * <a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-call-abort-sasl" title="tp_cli_channel_interface_sasl_authentication_call_abort_sasl ()">tp_cli_channel_interface_sasl_authentication_call_abort_sasl</a>
44
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
45
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
46
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> in_Reason</code></em>,
47
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Debug_Message</code></em>,
48
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-callback-for-abort-sasl" title="tp_cli_channel_interface_sasl_authentication_callback_for_abort_sasl ()"><span class="type">tp_cli_channel_interface_sasl_authentication_callback_for_abort_sasl</span></a> callback</code></em>,
49
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
50
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
51
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
52
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * <a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-call-accept-sasl" title="tp_cli_channel_interface_sasl_authentication_call_accept_sasl ()">tp_cli_channel_interface_sasl_authentication_call_accept_sasl</a>
53
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
54
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
55
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-callback-for-accept-sasl" title="tp_cli_channel_interface_sasl_authentication_callback_for_accept_sasl ()"><span class="type">tp_cli_channel_interface_sasl_authentication_callback_for_accept_sasl</span></a> callback</code></em>,
56
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
57
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
58
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
59
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * <a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-call-respond" title="tp_cli_channel_interface_sasl_authentication_call_respond ()">tp_cli_channel_interface_sasl_authentication_call_respond</a>
60
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
61
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
62
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *in_Response_Data</code></em>,
63
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-callback-for-respond" title="tp_cli_channel_interface_sasl_authentication_callback_for_respond ()"><span class="type">tp_cli_channel_interface_sasl_authentication_callback_for_respond</span></a> callback</code></em>,
64
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
65
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
66
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
67
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * <a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-call-start-mechanism" title="tp_cli_channel_interface_sasl_authentication_call_start_mechanism ()">tp_cli_channel_interface_sasl_authentication_call_start_mechanism</a>
68
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
69
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
70
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Mechanism</code></em>,
71
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-callback-for-start-mechanism" title="tp_cli_channel_interface_sasl_authentication_callback_for_start_mechanism ()"><span class="type">tp_cli_channel_interface_sasl_authentication_callback_for_start_mechanism</span></a> callback</code></em>,
72
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
73
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
74
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
75
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * <a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-call-start-mechanism-with-data" title="tp_cli_channel_interface_sasl_authentication_call_start_mechanism_with_data ()">tp_cli_channel_interface_sasl_authentication_call_start_mechanism_with_data</a>
76
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
77
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
78
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Mechanism</code></em>,
79
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *in_Initial_Data</code></em>,
80
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-callback-for-start-mechanism-with-data" title="tp_cli_channel_interface_sasl_authentication_callback_for_start_mechanism_with_data ()"><span class="type">tp_cli_channel_interface_sasl_authentication_callback_for_start_mechanism_with_data</span></a> callback</code></em>,
81
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
82
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
83
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
84
<span class="returnvalue">void</span> (<a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-callback-for-abort-sasl" title="tp_cli_channel_interface_sasl_authentication_callback_for_abort_sasl ()">*tp_cli_channel_interface_sasl_authentication_callback_for_abort_sasl</a>)
85
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
86
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
87
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
88
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
89
<span class="returnvalue">void</span> (<a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-callback-for-accept-sasl" title="tp_cli_channel_interface_sasl_authentication_callback_for_accept_sasl ()">*tp_cli_channel_interface_sasl_authentication_callback_for_accept_sasl</a>)
90
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
91
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
92
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
93
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
94
<span class="returnvalue">void</span> (<a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-callback-for-respond" title="tp_cli_channel_interface_sasl_authentication_callback_for_respond ()">*tp_cli_channel_interface_sasl_authentication_callback_for_respond</a>)
95
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
96
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
97
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
98
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
99
<span class="returnvalue">void</span> (<a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-callback-for-start-mechanism" title="tp_cli_channel_interface_sasl_authentication_callback_for_start_mechanism ()">*tp_cli_channel_interface_sasl_authentication_callback_for_start_mechanism</a>)
100
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
101
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
102
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
103
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
104
<span class="returnvalue">void</span> (<a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-callback-for-start-mechanism-with-data" title="tp_cli_channel_interface_sasl_authentication_callback_for_start_mechanism_with_data ()">*tp_cli_channel_interface_sasl_authentication_callback_for_start_mechanism_with_data</a>)
105
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
106
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
107
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
108
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
109
<a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> * <a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-connect-to-new-challenge" title="tp_cli_channel_interface_sasl_authentication_connect_to_new_challenge ()">tp_cli_channel_interface_sasl_authentication_connect_to_new_challenge</a>
110
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
111
<em class="parameter"><code><span class="type">tp_cli_channel_interface_sasl_authentication_signal_callback_new_challenge</span> callback</code></em>,
112
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
113
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
114
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>,
115
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
116
<a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> * <a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-connect-to-sasl-status-changed" title="tp_cli_channel_interface_sasl_authentication_connect_to_sasl_status_changed ()">tp_cli_channel_interface_sasl_authentication_connect_to_sasl_status_changed</a>
117
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
118
<em class="parameter"><code><span class="type">tp_cli_channel_interface_sasl_authentication_signal_callback_sasl_status_changed</span> callback</code></em>,
119
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
120
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
121
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>,
122
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
125
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * <a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-captcha-authentication-call-answer-captchas" title="tp_cli_channel_interface_captcha_authentication_call_answer_captchas ()">tp_cli_channel_interface_captcha_authentication_call_answer_captchas</a>
126
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
127
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
128
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *in_Answers</code></em>,
129
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-captcha-authentication-callback-for-answer-captchas" title="tp_cli_channel_interface_captcha_authentication_callback_for_answer_captchas ()"><span class="type">tp_cli_channel_interface_captcha_authentication_callback_for_answer_captchas</span></a> callback</code></em>,
130
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
131
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
132
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
133
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * <a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-captcha-authentication-call-cancel-captcha" title="tp_cli_channel_interface_captcha_authentication_call_cancel_captcha ()">tp_cli_channel_interface_captcha_authentication_call_cancel_captcha</a>
134
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
135
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
136
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> in_Reason</code></em>,
137
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Debug_Message</code></em>,
138
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-captcha-authentication-callback-for-cancel-captcha" title="tp_cli_channel_interface_captcha_authentication_callback_for_cancel_captcha ()"><span class="type">tp_cli_channel_interface_captcha_authentication_callback_for_cancel_captcha</span></a> callback</code></em>,
139
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
140
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
141
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
142
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * <a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-captcha-authentication-call-get-captcha-data" title="tp_cli_channel_interface_captcha_authentication_call_get_captcha_data ()">tp_cli_channel_interface_captcha_authentication_call_get_captcha_data</a>
143
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
144
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
145
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> in_ID</code></em>,
146
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Mime_Type</code></em>,
147
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-captcha-authentication-callback-for-get-captcha-data" title="tp_cli_channel_interface_captcha_authentication_callback_for_get_captcha_data ()"><span class="type">tp_cli_channel_interface_captcha_authentication_callback_for_get_captcha_data</span></a> callback</code></em>,
148
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
149
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
150
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
151
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * <a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-captcha-authentication-call-get-captchas" title="tp_cli_channel_interface_captcha_authentication_call_get_captchas ()">tp_cli_channel_interface_captcha_authentication_call_get_captchas</a>
152
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
153
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
154
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-captcha-authentication-callback-for-get-captchas" title="tp_cli_channel_interface_captcha_authentication_callback_for_get_captchas ()"><span class="type">tp_cli_channel_interface_captcha_authentication_callback_for_get_captchas</span></a> callback</code></em>,
155
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
156
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
157
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
158
<span class="returnvalue">void</span> (<a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-captcha-authentication-callback-for-answer-captchas" title="tp_cli_channel_interface_captcha_authentication_callback_for_answer_captchas ()">*tp_cli_channel_interface_captcha_authentication_callback_for_answer_captchas</a>)
159
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
160
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
161
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
162
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
163
<span class="returnvalue">void</span> (<a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-captcha-authentication-callback-for-cancel-captcha" title="tp_cli_channel_interface_captcha_authentication_callback_for_cancel_captcha ()">*tp_cli_channel_interface_captcha_authentication_callback_for_cancel_captcha</a>)
164
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
165
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
166
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
167
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
168
<span class="returnvalue">void</span> (<a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-captcha-authentication-callback-for-get-captcha-data" title="tp_cli_channel_interface_captcha_authentication_callback_for_get_captcha_data ()">*tp_cli_channel_interface_captcha_authentication_callback_for_get_captcha_data</a>)
169
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
170
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *out_Captcha_Data</code></em>,
171
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
172
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
173
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
174
<span class="returnvalue">void</span> (<a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-captcha-authentication-callback-for-get-captchas" title="tp_cli_channel_interface_captcha_authentication_callback_for_get_captchas ()">*tp_cli_channel_interface_captcha_authentication_callback_for_get_captchas</a>)
175
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
176
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *out_Captcha_Info</code></em>,
177
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> out_Number_Required</code></em>,
178
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *out_Language</code></em>,
179
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
180
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
181
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
216
184
<div class="refsect1">
217
185
<a name="telepathy-glib-channel-auth.description"></a><h2>Description</h2>
218
<p>The ServerAuthentication channel type represents a request for client/UI
187
The ServerAuthentication channel type represents a request for client/UI
219
188
processes to carry out authentication with a server, including password
220
189
authentication (prove that you are who you say you are) and captcha
221
authentication (prove that you are not a bot).</p>
223
<div class="refsect1">
224
<a name="telepathy-glib-channel-auth.functions_details"></a><h2>Functions</h2>
225
<div class="refsect2">
226
<a name="tp-cli-channel-interface-sasl-authentication-call-abort-sasl"></a><h3>tp_cli_channel_interface_sasl_authentication_call_abort_sasl ()</h3>
227
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
228
tp_cli_channel_interface_sasl_authentication_call_abort_sasl
229
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
230
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
231
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> in_Reason</code></em>,
232
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Debug_Message</code></em>,
233
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-callback-for-abort-sasl" title="tp_cli_channel_interface_sasl_authentication_callback_for_abort_sasl ()"><span class="type">tp_cli_channel_interface_sasl_authentication_callback_for_abort_sasl</span></a> callback</code></em>,
234
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
235
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
236
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
237
<p>Start a AbortSASL method call.</p>
238
<p><tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>Abort the current authentication try.</p> <p>If the current status is SASL_Status_Server_Failed or SASL_Status_Client_Failed, this method returns successfully, but has no further effect. If the current status is SASL_Status_Succeeded or SASL_Status_Client_Accepted then NotAvailable is raised. Otherwise, it changes the channel's state to SASL_Status_Client_Failed, with an appropriate error name and reason code.</p></p>
239
<div class="refsect3">
240
<a name="id-1.4.37.7.2.6"></a><h4>Parameters</h4>
241
<div class="informaltable"><table width="100%" border="0">
243
<col width="150px" class="parameters_name">
244
<col class="parameters_description">
245
<col width="200px" class="parameters_annotations">
249
<td class="parameter_name"><p>proxy</p></td>
250
<td class="parameter_description"><p>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a></p></td>
251
<td class="parameter_annotations"> </td>
254
<td class="parameter_name"><p>timeout_ms</p></td>
255
<td class="parameter_description"><p>the timeout in milliseconds, or -1 to use the
257
<td class="parameter_annotations"> </td>
260
<td class="parameter_name"><p>in_Reason</p></td>
261
<td class="parameter_description"><p>Used to pass an 'in' argument: Reason for abort. (<a class="link" href="telepathy-glib-enums.html#TpSASLAbortReason" title="enum TpSASLAbortReason"><span class="type">TpSASLAbortReason</span></a>)</p></td>
262
<td class="parameter_annotations"> </td>
265
<td class="parameter_name"><p>in_Debug_Message</p></td>
266
<td class="parameter_description"><p>Used to pass an 'in' argument: Debug message for abort.</p></td>
267
<td class="parameter_annotations"> </td>
270
<td class="parameter_name"><p>callback</p></td>
271
<td class="parameter_description"><p>called when the method call succeeds or fails;
272
may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no
273
reply tracking</p></td>
274
<td class="parameter_annotations"> </td>
277
<td class="parameter_name"><p>user_data</p></td>
278
<td class="parameter_description"><p>user-supplied data passed to the callback;
279
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em>
280
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
281
<td class="parameter_annotations"> </td>
284
<td class="parameter_name"><p>destroy</p></td>
285
<td class="parameter_description"><p>called with the user_data as argument, after the
286
call has succeeded, failed or been cancelled;
287
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em>
288
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
289
<td class="parameter_annotations"> </td>
292
<td class="parameter_name"><p>weak_object</p></td>
293
<td class="parameter_description"><p>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be
294
weakly referenced; if it is destroyed, this call
295
will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
296
<em class="parameter"><code>callback</code></em>
297
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
298
<td class="parameter_annotations"> </td>
303
<div class="refsect3">
304
<a name="id-1.4.37.7.2.7"></a><h4>Returns</h4>
305
<p> a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
306
progress. It is borrowed from the object, and will become
307
invalid when the callback is called, the call is
308
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</p>
313
<div class="refsect2">
314
<a name="tp-cli-channel-interface-sasl-authentication-call-accept-sasl"></a><h3>tp_cli_channel_interface_sasl_authentication_call_accept_sasl ()</h3>
315
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
316
tp_cli_channel_interface_sasl_authentication_call_accept_sasl
317
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
318
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
319
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-callback-for-accept-sasl" title="tp_cli_channel_interface_sasl_authentication_callback_for_accept_sasl ()"><span class="type">tp_cli_channel_interface_sasl_authentication_callback_for_accept_sasl</span></a> callback</code></em>,
320
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
321
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
322
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
323
<p>Start a AcceptSASL method call.</p>
324
<p><tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>If the channel's status is SASL_Status_Server_Succeeded, this method confirms successful authentication and advances the status of the channel to SASL_Status_Succeeded.</p> <p>If the channel's status is SASL_Status_In_Progress, calling this method indicates that the last <tp:member-ref>NewChallenge</tp:member-ref> signal was in fact additional data sent after a successful SASL negotiation, and declares that from the client's point of view, authentication was successful. This advances the state of the channel to SASL_Status_Client_Accepted.</p> <p>In mechanisms where the server authenticates itself to the client, calling this method indicates that the client considers this to have been successful. In the case of <tp:dbus-ref namespace="ofdT.Channel.Type">ServerAuthentication</tp:dbus-ref> channels, this means that the connection manager MAY continue to connect, and MAY advance the <tp:dbus-ref namespace="ofdT">Connection.Status</tp:dbus-ref> to Connected.</p></p>
325
<div class="refsect3">
326
<a name="id-1.4.37.7.3.6"></a><h4>Parameters</h4>
327
<div class="informaltable"><table width="100%" border="0">
329
<col width="150px" class="parameters_name">
330
<col class="parameters_description">
331
<col width="200px" class="parameters_annotations">
335
<td class="parameter_name"><p>proxy</p></td>
336
<td class="parameter_description"><p>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a></p></td>
337
<td class="parameter_annotations"> </td>
340
<td class="parameter_name"><p>timeout_ms</p></td>
341
<td class="parameter_description"><p>the timeout in milliseconds, or -1 to use the
343
<td class="parameter_annotations"> </td>
346
<td class="parameter_name"><p>callback</p></td>
347
<td class="parameter_description"><p>called when the method call succeeds or fails;
348
may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no
349
reply tracking</p></td>
350
<td class="parameter_annotations"> </td>
353
<td class="parameter_name"><p>user_data</p></td>
354
<td class="parameter_description"><p>user-supplied data passed to the callback;
355
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em>
356
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
357
<td class="parameter_annotations"> </td>
360
<td class="parameter_name"><p>destroy</p></td>
361
<td class="parameter_description"><p>called with the user_data as argument, after the
362
call has succeeded, failed or been cancelled;
363
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em>
364
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
365
<td class="parameter_annotations"> </td>
368
<td class="parameter_name"><p>weak_object</p></td>
369
<td class="parameter_description"><p>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be
370
weakly referenced; if it is destroyed, this call
371
will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
372
<em class="parameter"><code>callback</code></em>
373
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
374
<td class="parameter_annotations"> </td>
379
<div class="refsect3">
380
<a name="id-1.4.37.7.3.7"></a><h4>Returns</h4>
381
<p> a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
382
progress. It is borrowed from the object, and will become
383
invalid when the callback is called, the call is
384
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</p>
389
<div class="refsect2">
390
<a name="tp-cli-channel-interface-sasl-authentication-call-respond"></a><h3>tp_cli_channel_interface_sasl_authentication_call_respond ()</h3>
391
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
392
tp_cli_channel_interface_sasl_authentication_call_respond
393
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
394
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
395
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *in_Response_Data</code></em>,
396
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-callback-for-respond" title="tp_cli_channel_interface_sasl_authentication_callback_for_respond ()"><span class="type">tp_cli_channel_interface_sasl_authentication_callback_for_respond</span></a> callback</code></em>,
397
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
398
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
399
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
400
<p>Start a Respond method call.</p>
401
<p><tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>Send a response to the the last challenge received via <tp:member-ref>NewChallenge</tp:member-ref>.</p></p>
402
<div class="refsect3">
403
<a name="id-1.4.37.7.4.6"></a><h4>Parameters</h4>
404
<div class="informaltable"><table width="100%" border="0">
406
<col width="150px" class="parameters_name">
407
<col class="parameters_description">
408
<col width="200px" class="parameters_annotations">
412
<td class="parameter_name"><p>proxy</p></td>
413
<td class="parameter_description"><p>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a></p></td>
414
<td class="parameter_annotations"> </td>
417
<td class="parameter_name"><p>timeout_ms</p></td>
418
<td class="parameter_description"><p>the timeout in milliseconds, or -1 to use the
420
<td class="parameter_annotations"> </td>
423
<td class="parameter_name"><p>in_Response_Data</p></td>
424
<td class="parameter_description"><p>Used to pass an 'in' argument: The response data.</p></td>
425
<td class="parameter_annotations"> </td>
428
<td class="parameter_name"><p>callback</p></td>
429
<td class="parameter_description"><p>called when the method call succeeds or fails;
430
may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no
431
reply tracking</p></td>
432
<td class="parameter_annotations"> </td>
435
<td class="parameter_name"><p>user_data</p></td>
436
<td class="parameter_description"><p>user-supplied data passed to the callback;
437
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em>
438
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
439
<td class="parameter_annotations"> </td>
442
<td class="parameter_name"><p>destroy</p></td>
443
<td class="parameter_description"><p>called with the user_data as argument, after the
444
call has succeeded, failed or been cancelled;
445
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em>
446
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
447
<td class="parameter_annotations"> </td>
450
<td class="parameter_name"><p>weak_object</p></td>
451
<td class="parameter_description"><p>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be
452
weakly referenced; if it is destroyed, this call
453
will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
454
<em class="parameter"><code>callback</code></em>
455
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
456
<td class="parameter_annotations"> </td>
461
<div class="refsect3">
462
<a name="id-1.4.37.7.4.7"></a><h4>Returns</h4>
463
<p> a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
464
progress. It is borrowed from the object, and will become
465
invalid when the callback is called, the call is
466
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</p>
471
<div class="refsect2">
472
<a name="tp-cli-channel-interface-sasl-authentication-call-start-mechanism"></a><h3>tp_cli_channel_interface_sasl_authentication_call_start_mechanism ()</h3>
473
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
474
tp_cli_channel_interface_sasl_authentication_call_start_mechanism
475
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
476
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
477
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Mechanism</code></em>,
478
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-callback-for-start-mechanism" title="tp_cli_channel_interface_sasl_authentication_callback_for_start_mechanism ()"><span class="type">tp_cli_channel_interface_sasl_authentication_callback_for_start_mechanism</span></a> callback</code></em>,
479
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
480
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
481
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
482
<p>Start a StartMechanism method call.</p>
483
<p><tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>Start an authentication try using <var>Mechanism</var>, without sending initial data (an &quot;initial response&quot; as defined in RFC 4422).</p> <tp:rationale> <p>This method is appropriate for mechanisms where the client cannot send anything until it receives a challenge from the server, such as <code><a href="http://tools.ietf.org/html/rfc2831">DIGEST-MD5</a></code> in &quot;initial authentication&quot; mode.</p> </tp:rationale></p>
484
<div class="refsect3">
485
<a name="id-1.4.37.7.5.6"></a><h4>Parameters</h4>
486
<div class="informaltable"><table width="100%" border="0">
488
<col width="150px" class="parameters_name">
489
<col class="parameters_description">
490
<col width="200px" class="parameters_annotations">
494
<td class="parameter_name"><p>proxy</p></td>
495
<td class="parameter_description"><p>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a></p></td>
496
<td class="parameter_annotations"> </td>
499
<td class="parameter_name"><p>timeout_ms</p></td>
500
<td class="parameter_description"><p>the timeout in milliseconds, or -1 to use the
502
<td class="parameter_annotations"> </td>
505
<td class="parameter_name"><p>in_Mechanism</p></td>
506
<td class="parameter_description"><p>Used to pass an 'in' argument: The chosen mechanism.</p></td>
507
<td class="parameter_annotations"> </td>
510
<td class="parameter_name"><p>callback</p></td>
511
<td class="parameter_description"><p>called when the method call succeeds or fails;
512
may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no
513
reply tracking</p></td>
514
<td class="parameter_annotations"> </td>
517
<td class="parameter_name"><p>user_data</p></td>
518
<td class="parameter_description"><p>user-supplied data passed to the callback;
519
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em>
520
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
521
<td class="parameter_annotations"> </td>
524
<td class="parameter_name"><p>destroy</p></td>
525
<td class="parameter_description"><p>called with the user_data as argument, after the
526
call has succeeded, failed or been cancelled;
527
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em>
528
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
529
<td class="parameter_annotations"> </td>
532
<td class="parameter_name"><p>weak_object</p></td>
533
<td class="parameter_description"><p>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be
534
weakly referenced; if it is destroyed, this call
535
will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
536
<em class="parameter"><code>callback</code></em>
537
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
538
<td class="parameter_annotations"> </td>
543
<div class="refsect3">
544
<a name="id-1.4.37.7.5.7"></a><h4>Returns</h4>
545
<p> a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
546
progress. It is borrowed from the object, and will become
547
invalid when the callback is called, the call is
548
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</p>
553
<div class="refsect2">
554
<a name="tp-cli-channel-interface-sasl-authentication-call-start-mechanism-with-data"></a><h3>tp_cli_channel_interface_sasl_authentication_call_start_mechanism_with_data ()</h3>
555
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
556
tp_cli_channel_interface_sasl_authentication_call_start_mechanism_with_data
557
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
558
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
559
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Mechanism</code></em>,
560
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *in_Initial_Data</code></em>,
561
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-callback-for-start-mechanism-with-data" title="tp_cli_channel_interface_sasl_authentication_callback_for_start_mechanism_with_data ()"><span class="type">tp_cli_channel_interface_sasl_authentication_callback_for_start_mechanism_with_data</span></a> callback</code></em>,
562
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
563
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
564
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
565
<p>Start a StartMechanismWithData method call.</p>
566
<p><tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>Start an authentication try using <var>Mechanism</var>, and send <var>Initial_Data</var> as the &quot;initial response&quot; defined in <a href="http://tools.ietf.org/html/rfc4422<span class="type">section-3.3</span>">RFC 4422 §3.3</a>.</p> <tp:rationale> <p>This method is appropriate for mechanisms where the client may send data first, such as <code>PLAIN</code>, or must send data first, such as <code><a href="http://tools.ietf.org/html/rfc2831">DIGEST-MD5</a></code> in &quot;subsequent authentication&quot; mode.</p> <p>Having two methods allows any mechanism where it makes a difference to distinguish between the absence of an initial response (<tp:member-ref>StartMechanism</tp:member-ref>) and a zero-byte initial response (StartMechanismWithData, with Initial_Data empty).</p> </tp:rationale> <p>If the <tp:member-ref>HasInitialData</tp:member-ref> property is false, this indicates that the underlying protocol does not make it possible to send initial data. In such protocols, this method may only be used for the <code>X-TELEPATHY-</code> pseudo-mechanisms (such as <code>X-TELEPATHY-PASSWORD</code>), and will fail if used with an ordinary SASL mechanism.</p> <tp:rationale> <p>For instance, the IRC SASL extension implemented in Charybdis and Atheme does not support initial data - the first message in the exchange only carries the mechanism. This is significant if using <code><a href="http://tools.ietf.org/html/rfc2831">DIGEST-MD5</a></code>, which cannot be used in the faster &quot;subsequent authentication&quot; mode on a protocol not supporting initial data.</p> </tp:rationale></p>
567
<div class="refsect3">
568
<a name="id-1.4.37.7.6.6"></a><h4>Parameters</h4>
569
<div class="informaltable"><table width="100%" border="0">
571
<col width="150px" class="parameters_name">
572
<col class="parameters_description">
573
<col width="200px" class="parameters_annotations">
577
<td class="parameter_name"><p>proxy</p></td>
578
<td class="parameter_description"><p>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a></p></td>
579
<td class="parameter_annotations"> </td>
582
<td class="parameter_name"><p>timeout_ms</p></td>
583
<td class="parameter_description"><p>the timeout in milliseconds, or -1 to use the
585
<td class="parameter_annotations"> </td>
588
<td class="parameter_name"><p>in_Mechanism</p></td>
589
<td class="parameter_description"><p>Used to pass an 'in' argument: The chosen mechanism.</p></td>
590
<td class="parameter_annotations"> </td>
593
<td class="parameter_name"><p>in_Initial_Data</p></td>
594
<td class="parameter_description"><p>Used to pass an 'in' argument: Initial data (an &quot;initial response&quot; in RFC 4422's terminology) to send with the mechanism.</p></td>
595
<td class="parameter_annotations"> </td>
598
<td class="parameter_name"><p>callback</p></td>
599
<td class="parameter_description"><p>called when the method call succeeds or fails;
600
may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no
601
reply tracking</p></td>
602
<td class="parameter_annotations"> </td>
605
<td class="parameter_name"><p>user_data</p></td>
606
<td class="parameter_description"><p>user-supplied data passed to the callback;
607
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em>
608
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
609
<td class="parameter_annotations"> </td>
612
<td class="parameter_name"><p>destroy</p></td>
613
<td class="parameter_description"><p>called with the user_data as argument, after the
614
call has succeeded, failed or been cancelled;
615
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em>
616
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
617
<td class="parameter_annotations"> </td>
620
<td class="parameter_name"><p>weak_object</p></td>
621
<td class="parameter_description"><p>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be
622
weakly referenced; if it is destroyed, this call
623
will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
624
<em class="parameter"><code>callback</code></em>
625
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
626
<td class="parameter_annotations"> </td>
631
<div class="refsect3">
632
<a name="id-1.4.37.7.6.7"></a><h4>Returns</h4>
633
<p> a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
634
progress. It is borrowed from the object, and will become
635
invalid when the callback is called, the call is
636
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</p>
641
<div class="refsect2">
642
<a name="tp-cli-channel-interface-sasl-authentication-callback-for-abort-sasl"></a><h3>tp_cli_channel_interface_sasl_authentication_callback_for_abort_sasl ()</h3>
643
<pre class="programlisting"><span class="returnvalue">void</span>
644
<span class="c_punctuation">(</span>*tp_cli_channel_interface_sasl_authentication_callback_for_abort_sasl<span class="c_punctuation">)</span>
645
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
646
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
647
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
648
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
649
<div class="warning"><p><code class="literal">tp_cli_channel_interface_sasl_authentication_callback_for_abort_sasl</code> is deprecated and should not be used in newly-written code.</p></div>
650
<p>Signature of the callback called when a AbortSASL method call
651
succeeds or fails.</p>
652
<div class="refsect3">
653
<a name="id-1.4.37.7.7.6"></a><h4>Parameters</h4>
654
<div class="informaltable"><table width="100%" border="0">
656
<col width="150px" class="parameters_name">
657
<col class="parameters_description">
658
<col width="200px" class="parameters_annotations">
662
<td class="parameter_name"><p>proxy</p></td>
663
<td class="parameter_description"><p>the proxy on which the call was made</p></td>
664
<td class="parameter_annotations"> </td>
667
<td class="parameter_name"><p>error</p></td>
668
<td class="parameter_description"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure</p></td>
669
<td class="parameter_annotations"> </td>
672
<td class="parameter_name"><p>user_data</p></td>
673
<td class="parameter_description"><p>user-supplied data</p></td>
674
<td class="parameter_annotations"> </td>
677
<td class="parameter_name"><p>weak_object</p></td>
678
<td class="parameter_description"><p>user-supplied object</p></td>
679
<td class="parameter_annotations"> </td>
686
<div class="refsect2">
687
<a name="tp-cli-channel-interface-sasl-authentication-callback-for-accept-sasl"></a><h3>tp_cli_channel_interface_sasl_authentication_callback_for_accept_sasl ()</h3>
688
<pre class="programlisting"><span class="returnvalue">void</span>
689
<span class="c_punctuation">(</span>*tp_cli_channel_interface_sasl_authentication_callback_for_accept_sasl<span class="c_punctuation">)</span>
690
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
691
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
692
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
693
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
694
<div class="warning"><p><code class="literal">tp_cli_channel_interface_sasl_authentication_callback_for_accept_sasl</code> is deprecated and should not be used in newly-written code.</p></div>
695
<p>Signature of the callback called when a AcceptSASL method call
696
succeeds or fails.</p>
697
<div class="refsect3">
698
<a name="id-1.4.37.7.8.6"></a><h4>Parameters</h4>
699
<div class="informaltable"><table width="100%" border="0">
701
<col width="150px" class="parameters_name">
702
<col class="parameters_description">
703
<col width="200px" class="parameters_annotations">
707
<td class="parameter_name"><p>proxy</p></td>
708
<td class="parameter_description"><p>the proxy on which the call was made</p></td>
709
<td class="parameter_annotations"> </td>
712
<td class="parameter_name"><p>error</p></td>
713
<td class="parameter_description"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure</p></td>
714
<td class="parameter_annotations"> </td>
717
<td class="parameter_name"><p>user_data</p></td>
718
<td class="parameter_description"><p>user-supplied data</p></td>
719
<td class="parameter_annotations"> </td>
722
<td class="parameter_name"><p>weak_object</p></td>
723
<td class="parameter_description"><p>user-supplied object</p></td>
724
<td class="parameter_annotations"> </td>
731
<div class="refsect2">
732
<a name="tp-cli-channel-interface-sasl-authentication-callback-for-respond"></a><h3>tp_cli_channel_interface_sasl_authentication_callback_for_respond ()</h3>
733
<pre class="programlisting"><span class="returnvalue">void</span>
734
<span class="c_punctuation">(</span>*tp_cli_channel_interface_sasl_authentication_callback_for_respond<span class="c_punctuation">)</span>
735
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
736
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
737
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
738
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
739
<div class="warning"><p><code class="literal">tp_cli_channel_interface_sasl_authentication_callback_for_respond</code> is deprecated and should not be used in newly-written code.</p></div>
740
<p>Signature of the callback called when a Respond method call
741
succeeds or fails.</p>
742
<div class="refsect3">
743
<a name="id-1.4.37.7.9.6"></a><h4>Parameters</h4>
744
<div class="informaltable"><table width="100%" border="0">
746
<col width="150px" class="parameters_name">
747
<col class="parameters_description">
748
<col width="200px" class="parameters_annotations">
752
<td class="parameter_name"><p>proxy</p></td>
753
<td class="parameter_description"><p>the proxy on which the call was made</p></td>
754
<td class="parameter_annotations"> </td>
757
<td class="parameter_name"><p>error</p></td>
758
<td class="parameter_description"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure</p></td>
759
<td class="parameter_annotations"> </td>
762
<td class="parameter_name"><p>user_data</p></td>
763
<td class="parameter_description"><p>user-supplied data</p></td>
764
<td class="parameter_annotations"> </td>
767
<td class="parameter_name"><p>weak_object</p></td>
768
<td class="parameter_description"><p>user-supplied object</p></td>
769
<td class="parameter_annotations"> </td>
776
<div class="refsect2">
777
<a name="tp-cli-channel-interface-sasl-authentication-callback-for-start-mechanism"></a><h3>tp_cli_channel_interface_sasl_authentication_callback_for_start_mechanism ()</h3>
778
<pre class="programlisting"><span class="returnvalue">void</span>
779
<span class="c_punctuation">(</span>*tp_cli_channel_interface_sasl_authentication_callback_for_start_mechanism<span class="c_punctuation">)</span>
780
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
781
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
782
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
783
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
784
<p>Signature of the callback called when a StartMechanism method call
785
succeeds or fails.</p>
786
<div class="refsect3">
787
<a name="id-1.4.37.7.10.5"></a><h4>Parameters</h4>
788
<div class="informaltable"><table width="100%" border="0">
790
<col width="150px" class="parameters_name">
791
<col class="parameters_description">
792
<col width="200px" class="parameters_annotations">
796
<td class="parameter_name"><p>proxy</p></td>
797
<td class="parameter_description"><p>the proxy on which the call was made</p></td>
798
<td class="parameter_annotations"> </td>
801
<td class="parameter_name"><p>error</p></td>
802
<td class="parameter_description"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure</p></td>
803
<td class="parameter_annotations"> </td>
806
<td class="parameter_name"><p>user_data</p></td>
807
<td class="parameter_description"><p>user-supplied data</p></td>
808
<td class="parameter_annotations"> </td>
811
<td class="parameter_name"><p>weak_object</p></td>
812
<td class="parameter_description"><p>user-supplied object</p></td>
813
<td class="parameter_annotations"> </td>
820
<div class="refsect2">
821
<a name="tp-cli-channel-interface-sasl-authentication-callback-for-start-mechanism-with-data"></a><h3>tp_cli_channel_interface_sasl_authentication_callback_for_start_mechanism_with_data ()</h3>
822
<pre class="programlisting"><span class="returnvalue">void</span>
823
<span class="c_punctuation">(</span>*tp_cli_channel_interface_sasl_authentication_callback_for_start_mechanism_with_data<span class="c_punctuation">)</span>
824
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
825
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
826
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
827
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
828
<div class="warning"><p><code class="literal">tp_cli_channel_interface_sasl_authentication_callback_for_start_mechanism_with_data</code> is deprecated and should not be used in newly-written code.</p></div>
829
<p>Signature of the callback called when a StartMechanismWithData method call
830
succeeds or fails.</p>
831
<div class="refsect3">
832
<a name="id-1.4.37.7.11.6"></a><h4>Parameters</h4>
833
<div class="informaltable"><table width="100%" border="0">
835
<col width="150px" class="parameters_name">
836
<col class="parameters_description">
837
<col width="200px" class="parameters_annotations">
841
<td class="parameter_name"><p>proxy</p></td>
842
<td class="parameter_description"><p>the proxy on which the call was made</p></td>
843
<td class="parameter_annotations"> </td>
846
<td class="parameter_name"><p>error</p></td>
847
<td class="parameter_description"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure</p></td>
848
<td class="parameter_annotations"> </td>
851
<td class="parameter_name"><p>user_data</p></td>
852
<td class="parameter_description"><p>user-supplied data</p></td>
853
<td class="parameter_annotations"> </td>
856
<td class="parameter_name"><p>weak_object</p></td>
857
<td class="parameter_description"><p>user-supplied object</p></td>
858
<td class="parameter_annotations"> </td>
865
<div class="refsect2">
866
<a name="tp-cli-channel-interface-sasl-authentication-connect-to-new-challenge"></a><h3>tp_cli_channel_interface_sasl_authentication_connect_to_new_challenge ()</h3>
867
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> *
868
tp_cli_channel_interface_sasl_authentication_connect_to_new_challenge
869
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
870
<em class="parameter"><code><span class="type">tp_cli_channel_interface_sasl_authentication_signal_callback_new_challenge</span> callback</code></em>,
871
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
872
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
873
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>,
874
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
875
<p>Connect a handler to the signal NewChallenge.</p>
876
<p><tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>Emitted when a new challenge is received from the server, or when a message indicating successful authentication and containing additional data is received from the server.</p> <p>When the channel's handler is ready to proceed, it should respond to the challenge by calling <tp:member-ref>Respond</tp:member-ref>, or respond to the additional data by calling <tp:member-ref>AcceptSASL</tp:member-ref>. Alternatively, it may call <tp:member-ref>AbortSASL</tp:member-ref> to abort authentication.</p></p>
877
<div class="refsect3">
878
<a name="id-1.4.37.7.12.6"></a><h4>Parameters</h4>
879
<div class="informaltable"><table width="100%" border="0">
881
<col width="150px" class="parameters_name">
882
<col class="parameters_description">
883
<col width="200px" class="parameters_annotations">
887
<td class="parameter_name"><p>proxy</p></td>
888
<td class="parameter_description"><p>A <a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> or subclass</p></td>
889
<td class="parameter_annotations"> </td>
892
<td class="parameter_name"><p>callback</p></td>
893
<td class="parameter_description"><p>Callback to be called when the signal is
895
<td class="parameter_annotations"> </td>
898
<td class="parameter_name"><p>user_data</p></td>
899
<td class="parameter_description"><p>User-supplied data for the callback</p></td>
900
<td class="parameter_annotations"> </td>
903
<td class="parameter_name"><p>destroy</p></td>
904
<td class="parameter_description"><p>Destructor for the user-supplied data, which
905
will be called when this signal is disconnected, or
906
before this function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
907
<td class="parameter_annotations"> </td>
910
<td class="parameter_name"><p>weak_object</p></td>
911
<td class="parameter_description"><p>A <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be weakly referenced;
912
if it is destroyed, this callback will automatically be
913
disconnected</p></td>
914
<td class="parameter_annotations"> </td>
917
<td class="parameter_name"><p>error</p></td>
918
<td class="parameter_description"><p>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, used to raise an error if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is
920
<td class="parameter_annotations"> </td>
925
<div class="refsect3">
926
<a name="id-1.4.37.7.12.7"></a><h4>Returns</h4>
927
<p> a <a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="type">TpProxySignalConnection</span></a> containing all of the
928
above, which can be used to disconnect the signal; or
929
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the proxy does not have the desired interface
930
or has become invalid.</p>
935
<div class="refsect2">
936
<a name="tp-cli-channel-interface-sasl-authentication-connect-to-sasl-status-changed"></a><h3>tp_cli_channel_interface_sasl_authentication_connect_to_sasl_status_changed ()</h3>
937
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> *
938
tp_cli_channel_interface_sasl_authentication_connect_to_sasl_status_changed
939
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
940
<em class="parameter"><code><span class="type">tp_cli_channel_interface_sasl_authentication_signal_callback_sasl_status_changed</span> callback</code></em>,
941
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
942
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
943
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>,
944
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
945
<p>Connect a handler to the signal SASLStatusChanged.</p>
946
<p>Emitted when the status of the channel changes.</p>
947
<div class="refsect3">
948
<a name="id-1.4.37.7.13.6"></a><h4>Parameters</h4>
949
<div class="informaltable"><table width="100%" border="0">
951
<col width="150px" class="parameters_name">
952
<col class="parameters_description">
953
<col width="200px" class="parameters_annotations">
957
<td class="parameter_name"><p>proxy</p></td>
958
<td class="parameter_description"><p>A <a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> or subclass</p></td>
959
<td class="parameter_annotations"> </td>
962
<td class="parameter_name"><p>callback</p></td>
963
<td class="parameter_description"><p>Callback to be called when the signal is
965
<td class="parameter_annotations"> </td>
968
<td class="parameter_name"><p>user_data</p></td>
969
<td class="parameter_description"><p>User-supplied data for the callback</p></td>
970
<td class="parameter_annotations"> </td>
973
<td class="parameter_name"><p>destroy</p></td>
974
<td class="parameter_description"><p>Destructor for the user-supplied data, which
975
will be called when this signal is disconnected, or
976
before this function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
977
<td class="parameter_annotations"> </td>
980
<td class="parameter_name"><p>weak_object</p></td>
981
<td class="parameter_description"><p>A <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be weakly referenced;
982
if it is destroyed, this callback will automatically be
983
disconnected</p></td>
984
<td class="parameter_annotations"> </td>
987
<td class="parameter_name"><p>error</p></td>
988
<td class="parameter_description"><p>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, used to raise an error if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is
990
<td class="parameter_annotations"> </td>
995
<div class="refsect3">
996
<a name="id-1.4.37.7.13.7"></a><h4>Returns</h4>
997
<p> a <a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="type">TpProxySignalConnection</span></a> containing all of the
998
above, which can be used to disconnect the signal; or
999
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the proxy does not have the desired interface
1000
or has become invalid.</p>
1005
<div class="refsect2">
1006
<a name="tp-cli-channel-interface-captcha-authentication-call-answer-captchas"></a><h3>tp_cli_channel_interface_captcha_authentication_call_answer_captchas ()</h3>
1007
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
1008
tp_cli_channel_interface_captcha_authentication_call_answer_captchas
1009
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
1010
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
1011
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *in_Answers</code></em>,
1012
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-captcha-authentication-callback-for-answer-captchas" title="tp_cli_channel_interface_captcha_authentication_callback_for_answer_captchas ()"><span class="type">tp_cli_channel_interface_captcha_authentication_callback_for_answer_captchas</span></a> callback</code></em>,
1013
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
1014
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
1015
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
1016
<p>Start a AnswerCaptchas method call.</p>
1017
<p><tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>Answer as many captchas as desired and/or required.</p> <p>Callable in state Local_Pending only. State changes to Remote_Pending.</p></p>
1018
<div class="refsect3">
1019
<a name="id-1.4.37.7.14.6"></a><h4>Parameters</h4>
1020
<div class="informaltable"><table width="100%" border="0">
1022
<col width="150px" class="parameters_name">
1023
<col class="parameters_description">
1024
<col width="200px" class="parameters_annotations">
1028
<td class="parameter_name"><p>proxy</p></td>
1029
<td class="parameter_description"><p>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a></p></td>
1030
<td class="parameter_annotations"> </td>
1033
<td class="parameter_name"><p>timeout_ms</p></td>
1034
<td class="parameter_description"><p>the timeout in milliseconds, or -1 to use the
1036
<td class="parameter_annotations"> </td>
1039
<td class="parameter_name"><p>in_Answers</p></td>
1040
<td class="parameter_description"><p>Used to pass an 'in' argument: The mapping of captcha IDs to answer strings.</p></td>
1041
<td class="parameter_annotations"> </td>
1044
<td class="parameter_name"><p>callback</p></td>
1045
<td class="parameter_description"><p>called when the method call succeeds or fails;
1046
may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no
1047
reply tracking</p></td>
1048
<td class="parameter_annotations"> </td>
1051
<td class="parameter_name"><p>user_data</p></td>
1052
<td class="parameter_description"><p>user-supplied data passed to the callback;
1053
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em>
1054
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
1055
<td class="parameter_annotations"> </td>
1058
<td class="parameter_name"><p>destroy</p></td>
1059
<td class="parameter_description"><p>called with the user_data as argument, after the
1060
call has succeeded, failed or been cancelled;
1061
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em>
1062
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
1063
<td class="parameter_annotations"> </td>
1066
<td class="parameter_name"><p>weak_object</p></td>
1067
<td class="parameter_description"><p>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be
1068
weakly referenced; if it is destroyed, this call
1069
will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
1070
<em class="parameter"><code>callback</code></em>
1071
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
1072
<td class="parameter_annotations"> </td>
1077
<div class="refsect3">
1078
<a name="id-1.4.37.7.14.7"></a><h4>Returns</h4>
1079
<p> a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
1080
progress. It is borrowed from the object, and will become
1081
invalid when the callback is called, the call is
1082
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</p>
1087
<div class="refsect2">
1088
<a name="tp-cli-channel-interface-captcha-authentication-call-cancel-captcha"></a><h3>tp_cli_channel_interface_captcha_authentication_call_cancel_captcha ()</h3>
1089
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
1090
tp_cli_channel_interface_captcha_authentication_call_cancel_captcha
1091
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
1092
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
1093
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> in_Reason</code></em>,
1094
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Debug_Message</code></em>,
1095
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-captcha-authentication-callback-for-cancel-captcha" title="tp_cli_channel_interface_captcha_authentication_callback_for_cancel_captcha ()"><span class="type">tp_cli_channel_interface_captcha_authentication_callback_for_cancel_captcha</span></a> callback</code></em>,
1096
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
1097
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
1098
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
1099
<p>Start a CancelCaptcha method call.</p>
1100
<p><tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>Cancel. State changes to Failed with error NotAvailable or Cancelled if it isn't already Failed. All you can do now is to close the channel.</p></p>
1101
<div class="refsect3">
1102
<a name="id-1.4.37.7.15.6"></a><h4>Parameters</h4>
1103
<div class="informaltable"><table width="100%" border="0">
1105
<col width="150px" class="parameters_name">
1106
<col class="parameters_description">
1107
<col width="200px" class="parameters_annotations">
1111
<td class="parameter_name"><p>proxy</p></td>
1112
<td class="parameter_description"><p>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a></p></td>
1113
<td class="parameter_annotations"> </td>
1116
<td class="parameter_name"><p>timeout_ms</p></td>
1117
<td class="parameter_description"><p>the timeout in milliseconds, or -1 to use the
1119
<td class="parameter_annotations"> </td>
1122
<td class="parameter_name"><p>in_Reason</p></td>
1123
<td class="parameter_description"><p>Used to pass an 'in' argument: Reason for cancelling. This MAY be used to choose an error response to the remote server, and SHOULD also be reflected in the <tp:member-ref>CaptchaError</tp:member-ref>. (<a class="link" href="telepathy-glib-enums.html#TpCaptchaCancelReason" title="enum TpCaptchaCancelReason"><span class="type">TpCaptchaCancelReason</span></a>)</p></td>
1124
<td class="parameter_annotations"> </td>
1127
<td class="parameter_name"><p>in_Debug_Message</p></td>
1128
<td class="parameter_description"><p>Used to pass an 'in' argument: A textual description of the reason for cancelling, supplied by the Handler. This message SHOULD NOT be sent to the remote server, but SHOULD be copied into the 'debug-message' field of the <tp:member-ref>CaptchaErrorDetails</tp:member-ref> and <tp:dbus-ref namespace="ofdT.Connection">ConnectionError</tp:dbus-ref>.</p></td>
1129
<td class="parameter_annotations"> </td>
1132
<td class="parameter_name"><p>callback</p></td>
1133
<td class="parameter_description"><p>called when the method call succeeds or fails;
1134
may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no
1135
reply tracking</p></td>
1136
<td class="parameter_annotations"> </td>
1139
<td class="parameter_name"><p>user_data</p></td>
1140
<td class="parameter_description"><p>user-supplied data passed to the callback;
1141
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em>
1142
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
1143
<td class="parameter_annotations"> </td>
1146
<td class="parameter_name"><p>destroy</p></td>
1147
<td class="parameter_description"><p>called with the user_data as argument, after the
1148
call has succeeded, failed or been cancelled;
1149
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em>
1150
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
1151
<td class="parameter_annotations"> </td>
1154
<td class="parameter_name"><p>weak_object</p></td>
1155
<td class="parameter_description"><p>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be
1156
weakly referenced; if it is destroyed, this call
1157
will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
1158
<em class="parameter"><code>callback</code></em>
1159
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
1160
<td class="parameter_annotations"> </td>
1165
<div class="refsect3">
1166
<a name="id-1.4.37.7.15.7"></a><h4>Returns</h4>
1167
<p> a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
1168
progress. It is borrowed from the object, and will become
1169
invalid when the callback is called, the call is
1170
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</p>
1175
<div class="refsect2">
1176
<a name="tp-cli-channel-interface-captcha-authentication-call-get-captcha-data"></a><h3>tp_cli_channel_interface_captcha_authentication_call_get_captcha_data ()</h3>
1177
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
1178
tp_cli_channel_interface_captcha_authentication_call_get_captcha_data
1179
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
1180
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
1181
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> in_ID</code></em>,
1182
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Mime_Type</code></em>,
1183
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-captcha-authentication-callback-for-get-captcha-data" title="tp_cli_channel_interface_captcha_authentication_callback_for_get_captcha_data ()"><span class="type">tp_cli_channel_interface_captcha_authentication_callback_for_get_captcha_data</span></a> callback</code></em>,
1184
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
1185
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
1186
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
1187
<p>Start a GetCaptchaData method call.</p>
1188
<p><tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>Fetch and return the captcha data. In protocols where captchas are downloaded out-of-band (for instance via HTTP), the connection manager is expected to do so.</p> <p>Returns an empty array if the type was &quot;qa&quot;</p> <tp:rationale> <p>If audio-based and image-based captchas are both available, we don't want to waste time downloading the audio until/unless the user asks to hear it. The extra D-Bus round-trips are not a problem, since they are expected to be quick compared with the time taken for the user to solve the captcha.</p> </tp:rationale></p>
1189
<div class="refsect3">
1190
<a name="id-1.4.37.7.16.6"></a><h4>Parameters</h4>
1191
<div class="informaltable"><table width="100%" border="0">
1193
<col width="150px" class="parameters_name">
1194
<col class="parameters_description">
1195
<col width="200px" class="parameters_annotations">
1199
<td class="parameter_name"><p>proxy</p></td>
1200
<td class="parameter_description"><p>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a></p></td>
1201
<td class="parameter_annotations"> </td>
1204
<td class="parameter_name"><p>timeout_ms</p></td>
1205
<td class="parameter_description"><p>the timeout in milliseconds, or -1 to use the
1207
<td class="parameter_annotations"> </td>
1210
<td class="parameter_name"><p>in_ID</p></td>
1211
<td class="parameter_description"><p>Used to pass an 'in' argument: The ID of the captcha of which to retrieve data.</p></td>
1212
<td class="parameter_annotations"> </td>
1215
<td class="parameter_name"><p>in_Mime_Type</p></td>
1216
<td class="parameter_description"><p>Used to pass an 'in' argument: MIME type picked by the Handler, chosen from the list of MIME types received in <tp:member-ref>GetCaptchas</tp:member-ref>. <tp:rationale> XEP-0158 allows the same captcha to be made available in multiple formats, for instance the same spoken question as audio/x-wav, application/ogg and audio/speex. </tp:rationale></p></td>
1217
<td class="parameter_annotations"> </td>
1220
<td class="parameter_name"><p>callback</p></td>
1221
<td class="parameter_description"><p>called when the method call succeeds or fails;
1222
may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no
1223
reply tracking</p></td>
1224
<td class="parameter_annotations"> </td>
1227
<td class="parameter_name"><p>user_data</p></td>
1228
<td class="parameter_description"><p>user-supplied data passed to the callback;
1229
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em>
1230
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
1231
<td class="parameter_annotations"> </td>
1234
<td class="parameter_name"><p>destroy</p></td>
1235
<td class="parameter_description"><p>called with the user_data as argument, after the
1236
call has succeeded, failed or been cancelled;
1237
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em>
1238
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
1239
<td class="parameter_annotations"> </td>
1242
<td class="parameter_name"><p>weak_object</p></td>
1243
<td class="parameter_description"><p>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be
1244
weakly referenced; if it is destroyed, this call
1245
will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
1246
<em class="parameter"><code>callback</code></em>
1247
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
1248
<td class="parameter_annotations"> </td>
1253
<div class="refsect3">
1254
<a name="id-1.4.37.7.16.7"></a><h4>Returns</h4>
1255
<p> a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
1256
progress. It is borrowed from the object, and will become
1257
invalid when the callback is called, the call is
1258
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</p>
1263
<div class="refsect2">
1264
<a name="tp-cli-channel-interface-captcha-authentication-call-get-captchas"></a><h3>tp_cli_channel_interface_captcha_authentication_call_get_captchas ()</h3>
1265
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
1266
tp_cli_channel_interface_captcha_authentication_call_get_captchas
1267
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
1268
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
1269
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-captcha-authentication-callback-for-get-captchas" title="tp_cli_channel_interface_captcha_authentication_callback_for_get_captchas ()"><span class="type">tp_cli_channel_interface_captcha_authentication_callback_for_get_captchas</span></a> callback</code></em>,
1270
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
1271
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
1272
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
1273
<p>Start a GetCaptchas method call.</p>
1274
<p><tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>Gets information regarding each of the captcha methods available and which and how many need to be successfully answered</p> <p>To call this method successfully, the state must be Local_Pending or Try_Again. If it is Local_Pending, it remains Local_Pending. If called more than once while in Local_Pending state, or if the state is Try_Again, this method fetches a new set of captcha challenges, if possible, and the state returns to Local_Pending.</p> <tp:rationale> <p>For instance, you could call GetCaptchas again from Local_Pending state if the user indicates that they can't understand the initially-offered captcha.</p> <p>This is a method, not a property, so that it can be used to fetch more than one set of captcha challenges, and so that change notification is not required. Only the Handler should call this method and calling GetAll would not reduce round-trips, so the usual reasons to prefer a property do not apply here.</p> </tp:rationale></p>
1275
<div class="refsect3">
1276
<a name="id-1.4.37.7.17.6"></a><h4>Parameters</h4>
1277
<div class="informaltable"><table width="100%" border="0">
1279
<col width="150px" class="parameters_name">
1280
<col class="parameters_description">
1281
<col width="200px" class="parameters_annotations">
1285
<td class="parameter_name"><p>proxy</p></td>
1286
<td class="parameter_description"><p>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a></p></td>
1287
<td class="parameter_annotations"> </td>
1290
<td class="parameter_name"><p>timeout_ms</p></td>
1291
<td class="parameter_description"><p>the timeout in milliseconds, or -1 to use the
1293
<td class="parameter_annotations"> </td>
1296
<td class="parameter_name"><p>callback</p></td>
1297
<td class="parameter_description"><p>called when the method call succeeds or fails;
1298
may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no
1299
reply tracking</p></td>
1300
<td class="parameter_annotations"> </td>
1303
<td class="parameter_name"><p>user_data</p></td>
1304
<td class="parameter_description"><p>user-supplied data passed to the callback;
1305
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em>
1306
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
1307
<td class="parameter_annotations"> </td>
1310
<td class="parameter_name"><p>destroy</p></td>
1311
<td class="parameter_description"><p>called with the user_data as argument, after the
1312
call has succeeded, failed or been cancelled;
1313
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em>
1314
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
1315
<td class="parameter_annotations"> </td>
1318
<td class="parameter_name"><p>weak_object</p></td>
1319
<td class="parameter_description"><p>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be
1320
weakly referenced; if it is destroyed, this call
1321
will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
1322
<em class="parameter"><code>callback</code></em>
1323
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
1324
<td class="parameter_annotations"> </td>
1329
<div class="refsect3">
1330
<a name="id-1.4.37.7.17.7"></a><h4>Returns</h4>
1331
<p> a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
1332
progress. It is borrowed from the object, and will become
1333
invalid when the callback is called, the call is
1334
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</p>
1339
<div class="refsect2">
1340
<a name="tp-cli-channel-interface-captcha-authentication-callback-for-answer-captchas"></a><h3>tp_cli_channel_interface_captcha_authentication_callback_for_answer_captchas ()</h3>
1341
<pre class="programlisting"><span class="returnvalue">void</span>
1342
<span class="c_punctuation">(</span>*tp_cli_channel_interface_captcha_authentication_callback_for_answer_captchas<span class="c_punctuation">)</span>
1343
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
1344
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
1345
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
1346
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
1347
<p>Signature of the callback called when a AnswerCaptchas method call
1348
succeeds or fails.</p>
1349
<div class="refsect3">
1350
<a name="id-1.4.37.7.18.5"></a><h4>Parameters</h4>
1351
<div class="informaltable"><table width="100%" border="0">
1353
<col width="150px" class="parameters_name">
1354
<col class="parameters_description">
1355
<col width="200px" class="parameters_annotations">
1359
<td class="parameter_name"><p>proxy</p></td>
1360
<td class="parameter_description"><p>the proxy on which the call was made</p></td>
1361
<td class="parameter_annotations"> </td>
1364
<td class="parameter_name"><p>error</p></td>
1365
<td class="parameter_description"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure</p></td>
1366
<td class="parameter_annotations"> </td>
1369
<td class="parameter_name"><p>user_data</p></td>
1370
<td class="parameter_description"><p>user-supplied data</p></td>
1371
<td class="parameter_annotations"> </td>
1374
<td class="parameter_name"><p>weak_object</p></td>
1375
<td class="parameter_description"><p>user-supplied object</p></td>
1376
<td class="parameter_annotations"> </td>
1383
<div class="refsect2">
1384
<a name="tp-cli-channel-interface-captcha-authentication-callback-for-cancel-captcha"></a><h3>tp_cli_channel_interface_captcha_authentication_callback_for_cancel_captcha ()</h3>
1385
<pre class="programlisting"><span class="returnvalue">void</span>
1386
<span class="c_punctuation">(</span>*tp_cli_channel_interface_captcha_authentication_callback_for_cancel_captcha<span class="c_punctuation">)</span>
1387
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
1388
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
1389
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
1390
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
1391
<p>Signature of the callback called when a CancelCaptcha method call
1392
succeeds or fails.</p>
1393
<div class="refsect3">
1394
<a name="id-1.4.37.7.19.5"></a><h4>Parameters</h4>
1395
<div class="informaltable"><table width="100%" border="0">
1397
<col width="150px" class="parameters_name">
1398
<col class="parameters_description">
1399
<col width="200px" class="parameters_annotations">
1403
<td class="parameter_name"><p>proxy</p></td>
1404
<td class="parameter_description"><p>the proxy on which the call was made</p></td>
1405
<td class="parameter_annotations"> </td>
1408
<td class="parameter_name"><p>error</p></td>
1409
<td class="parameter_description"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure</p></td>
1410
<td class="parameter_annotations"> </td>
1413
<td class="parameter_name"><p>user_data</p></td>
1414
<td class="parameter_description"><p>user-supplied data</p></td>
1415
<td class="parameter_annotations"> </td>
1418
<td class="parameter_name"><p>weak_object</p></td>
1419
<td class="parameter_description"><p>user-supplied object</p></td>
1420
<td class="parameter_annotations"> </td>
1427
<div class="refsect2">
1428
<a name="tp-cli-channel-interface-captcha-authentication-callback-for-get-captcha-data"></a><h3>tp_cli_channel_interface_captcha_authentication_callback_for_get_captcha_data ()</h3>
1429
<pre class="programlisting"><span class="returnvalue">void</span>
1430
<span class="c_punctuation">(</span>*tp_cli_channel_interface_captcha_authentication_callback_for_get_captcha_data<span class="c_punctuation">)</span>
1431
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
1432
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *out_Captcha_Data</code></em>,
1433
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
1434
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
1435
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
1436
<p>Signature of the callback called when a GetCaptchaData method call
1437
succeeds or fails.</p>
1438
<div class="refsect3">
1439
<a name="id-1.4.37.7.20.5"></a><h4>Parameters</h4>
1440
<div class="informaltable"><table width="100%" border="0">
1442
<col width="150px" class="parameters_name">
1443
<col class="parameters_description">
1444
<col width="200px" class="parameters_annotations">
1448
<td class="parameter_name"><p>proxy</p></td>
1449
<td class="parameter_description"><p>the proxy on which the call was made</p></td>
1450
<td class="parameter_annotations"> </td>
1453
<td class="parameter_name"><p>out_Captcha_Data</p></td>
1454
<td class="parameter_description"><p>Used to return an 'out' argument if <em class="parameter"><code>error</code></em>
1455
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>: Captcha data as requested.</p></td>
1456
<td class="parameter_annotations"> </td>
1459
<td class="parameter_name"><p>error</p></td>
1460
<td class="parameter_description"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure</p></td>
1461
<td class="parameter_annotations"> </td>
1464
<td class="parameter_name"><p>user_data</p></td>
1465
<td class="parameter_description"><p>user-supplied data</p></td>
1466
<td class="parameter_annotations"> </td>
1469
<td class="parameter_name"><p>weak_object</p></td>
1470
<td class="parameter_description"><p>user-supplied object</p></td>
1471
<td class="parameter_annotations"> </td>
1478
<div class="refsect2">
1479
<a name="tp-cli-channel-interface-captcha-authentication-callback-for-get-captchas"></a><h3>tp_cli_channel_interface_captcha_authentication_callback_for_get_captchas ()</h3>
1480
<pre class="programlisting"><span class="returnvalue">void</span>
1481
<span class="c_punctuation">(</span>*tp_cli_channel_interface_captcha_authentication_callback_for_get_captchas<span class="c_punctuation">)</span>
1482
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
1483
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *out_Captcha_Info</code></em>,
1484
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> out_Number_Required</code></em>,
1485
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *out_Language</code></em>,
1486
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
1487
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
1488
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
1489
<div class="warning"><p><code class="literal">tp_cli_channel_interface_captcha_authentication_callback_for_get_captchas</code> is deprecated and should not be used in newly-written code.</p></div>
1490
<p>Signature of the callback called when a GetCaptchas method call
1491
succeeds or fails.</p>
1492
<div class="refsect3">
1493
<a name="id-1.4.37.7.21.6"></a><h4>Parameters</h4>
1494
<div class="informaltable"><table width="100%" border="0">
1496
<col width="150px" class="parameters_name">
1497
<col class="parameters_description">
1498
<col width="200px" class="parameters_annotations">
1502
<td class="parameter_name"><p>proxy</p></td>
1503
<td class="parameter_description"><p>the proxy on which the call was made</p></td>
1504
<td class="parameter_annotations"> </td>
1507
<td class="parameter_name"><p>out_Captcha_Info</p></td>
1508
<td class="parameter_description"><p>Used to return an 'out' argument if <em class="parameter"><code>error</code></em>
1509
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>: <tp:docstring xmlns="http://www.w3.org/1999/xhtml"> Information about each of the available captcha methods.</p></td>
1510
<td class="parameter_annotations"> </td>
1513
<td class="parameter_name"><p>out_Number_Required</p></td>
1514
<td class="parameter_description"><p>Used to return an 'out' argument if <em class="parameter"><code>error</code></em>
1515
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>: <tp:docstring xmlns="http://www.w3.org/1999/xhtml"> The number of captcha methods required to be answered in order to successfully complete this captcha challenge (most frequently 1, but XMPP allows servers to demand that more than one captcha is answered).</p></td>
1516
<td class="parameter_annotations"> </td>
1519
<td class="parameter_name"><p>out_Language</p></td>
1520
<td class="parameter_description"><p>Used to return an 'out' argument if <em class="parameter"><code>error</code></em>
1521
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>: <tp:docstring xmlns="http://www.w3.org/1999/xhtml"> The language of each Label in Captcha_Info if available, for instance en_US, or &quot;&quot; if unknown.</p></td>
1522
<td class="parameter_annotations"> </td>
1525
<td class="parameter_name"><p>error</p></td>
1526
<td class="parameter_description"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure</p></td>
1527
<td class="parameter_annotations"> </td>
1530
<td class="parameter_name"><p>user_data</p></td>
1531
<td class="parameter_description"><p>user-supplied data</p></td>
1532
<td class="parameter_annotations"> </td>
1535
<td class="parameter_name"><p>weak_object</p></td>
1536
<td class="parameter_description"><p>user-supplied object</p></td>
1537
<td class="parameter_annotations"> </td>
1544
<div class="refsect1">
1545
<a name="telepathy-glib-channel-auth.other_details"></a><h2>Types and Values</h2>
190
authentication (prove that you are not a bot).
193
<div class="refsect1">
194
<a name="telepathy-glib-channel-auth.details"></a><h2>Details</h2>
195
<div class="refsect2">
196
<a name="tp-cli-channel-interface-sasl-authentication-call-abort-sasl"></a><h3>tp_cli_channel_interface_sasl_authentication_call_abort_sasl ()</h3>
197
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_channel_interface_sasl_authentication_call_abort_sasl
198
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
199
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
200
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> in_Reason</code></em>,
201
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Debug_Message</code></em>,
202
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-callback-for-abort-sasl" title="tp_cli_channel_interface_sasl_authentication_callback_for_abort_sasl ()"><span class="type">tp_cli_channel_interface_sasl_authentication_callback_for_abort_sasl</span></a> callback</code></em>,
203
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
204
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
205
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
207
Start a AbortSASL method call.
210
<tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>Abort the current authentication try.</p> <p>If the current status is SASL_Status_Server_Failed or SASL_Status_Client_Failed, this method returns successfully, but has no further effect. If the current status is SASL_Status_Succeeded or SASL_Status_Client_Accepted then NotAvailable is raised. Otherwise, it changes the channel's state to SASL_Status_Client_Failed, with an appropriate error name and reason code.</p>
212
<div class="variablelist"><table border="0" class="variablelist">
214
<col align="left" valign="top">
219
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
220
<td>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a>
224
<td><p><span class="term"><em class="parameter"><code>timeout_ms</code></em> :</span></p></td>
225
<td>the timeout in milliseconds, or -1 to use the
229
<td><p><span class="term"><em class="parameter"><code>in_Reason</code></em> :</span></p></td>
230
<td>Used to pass an 'in' argument: Reason for abort. (<a class="link" href="telepathy-glib-enums.html#TpSASLAbortReason" title="enum TpSASLAbortReason"><span class="type">TpSASLAbortReason</span></a>)</td>
233
<td><p><span class="term"><em class="parameter"><code>in_Debug_Message</code></em> :</span></p></td>
234
<td>Used to pass an 'in' argument: Debug message for abort.</td>
237
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
238
<td>called when the method call succeeds or fails;
239
may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no
243
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
244
<td>user-supplied data passed to the callback;
245
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
249
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
250
<td>called with the user_data as argument, after the
251
call has succeeded, failed or been cancelled;
252
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
256
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
257
<td>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be
258
weakly referenced; if it is destroyed, this call
259
will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
260
<em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
264
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
265
<td>a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
266
progress. It is borrowed from the object, and will become
267
invalid when the callback is called, the call is
268
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</td>
274
<div class="refsect2">
275
<a name="tp-cli-channel-interface-sasl-authentication-call-accept-sasl"></a><h3>tp_cli_channel_interface_sasl_authentication_call_accept_sasl ()</h3>
276
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_channel_interface_sasl_authentication_call_accept_sasl
277
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
278
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
279
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-callback-for-accept-sasl" title="tp_cli_channel_interface_sasl_authentication_callback_for_accept_sasl ()"><span class="type">tp_cli_channel_interface_sasl_authentication_callback_for_accept_sasl</span></a> callback</code></em>,
280
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
281
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
282
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
284
Start a AcceptSASL method call.
287
<tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>If the channel's status is SASL_Status_Server_Succeeded, this method confirms successful authentication and advances the status of the channel to SASL_Status_Succeeded.</p> <p>If the channel's status is SASL_Status_In_Progress, calling this method indicates that the last <tp:member-ref>NewChallenge</tp:member-ref> signal was in fact additional data sent after a successful SASL negotiation, and declares that from the client's point of view, authentication was successful. This advances the state of the channel to SASL_Status_Client_Accepted.</p> <p>In mechanisms where the server authenticates itself to the client, calling this method indicates that the client considers this to have been successful. In the case of <tp:dbus-ref namespace="ofdT.Channel.Type">ServerAuthentication</tp:dbus-ref> channels, this means that the connection manager MAY continue to connect, and MAY advance the <tp:dbus-ref namespace="ofdT">Connection.Status</tp:dbus-ref> to Connected.</p>
289
<div class="variablelist"><table border="0" class="variablelist">
291
<col align="left" valign="top">
296
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
297
<td>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a>
301
<td><p><span class="term"><em class="parameter"><code>timeout_ms</code></em> :</span></p></td>
302
<td>the timeout in milliseconds, or -1 to use the
306
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
307
<td>called when the method call succeeds or fails;
308
may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no
312
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
313
<td>user-supplied data passed to the callback;
314
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
318
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
319
<td>called with the user_data as argument, after the
320
call has succeeded, failed or been cancelled;
321
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
325
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
326
<td>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be
327
weakly referenced; if it is destroyed, this call
328
will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
329
<em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
333
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
334
<td>a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
335
progress. It is borrowed from the object, and will become
336
invalid when the callback is called, the call is
337
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</td>
343
<div class="refsect2">
344
<a name="tp-cli-channel-interface-sasl-authentication-call-respond"></a><h3>tp_cli_channel_interface_sasl_authentication_call_respond ()</h3>
345
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_channel_interface_sasl_authentication_call_respond
346
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
347
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
348
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *in_Response_Data</code></em>,
349
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-callback-for-respond" title="tp_cli_channel_interface_sasl_authentication_callback_for_respond ()"><span class="type">tp_cli_channel_interface_sasl_authentication_callback_for_respond</span></a> callback</code></em>,
350
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
351
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
352
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
354
Start a Respond method call.
357
<tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>Send a response to the the last challenge received via <tp:member-ref>NewChallenge</tp:member-ref>.</p>
359
<div class="variablelist"><table border="0" class="variablelist">
361
<col align="left" valign="top">
366
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
367
<td>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a>
371
<td><p><span class="term"><em class="parameter"><code>timeout_ms</code></em> :</span></p></td>
372
<td>the timeout in milliseconds, or -1 to use the
376
<td><p><span class="term"><em class="parameter"><code>in_Response_Data</code></em> :</span></p></td>
377
<td>Used to pass an 'in' argument: The response data.</td>
380
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
381
<td>called when the method call succeeds or fails;
382
may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no
386
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
387
<td>user-supplied data passed to the callback;
388
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
392
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
393
<td>called with the user_data as argument, after the
394
call has succeeded, failed or been cancelled;
395
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
399
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
400
<td>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be
401
weakly referenced; if it is destroyed, this call
402
will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
403
<em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
407
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
408
<td>a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
409
progress. It is borrowed from the object, and will become
410
invalid when the callback is called, the call is
411
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</td>
417
<div class="refsect2">
418
<a name="tp-cli-channel-interface-sasl-authentication-call-start-mechanism"></a><h3>tp_cli_channel_interface_sasl_authentication_call_start_mechanism ()</h3>
419
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_channel_interface_sasl_authentication_call_start_mechanism
420
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
421
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
422
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Mechanism</code></em>,
423
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-callback-for-start-mechanism" title="tp_cli_channel_interface_sasl_authentication_callback_for_start_mechanism ()"><span class="type">tp_cli_channel_interface_sasl_authentication_callback_for_start_mechanism</span></a> callback</code></em>,
424
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
425
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
426
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
428
Start a StartMechanism method call.
431
<tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>Start an authentication try using <var>Mechanism</var>, without sending initial data (an &quot;initial response&quot; as defined in RFC 4422).</p> <tp:rationale> <p>This method is appropriate for mechanisms where the client cannot send anything until it receives a challenge from the server, such as <code><a href="http://tools.ietf.org/html/rfc2831">DIGEST-MD5</a></code> in &quot;initial authentication&quot; mode.</p> </tp:rationale>
433
<div class="variablelist"><table border="0" class="variablelist">
435
<col align="left" valign="top">
440
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
441
<td>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a>
445
<td><p><span class="term"><em class="parameter"><code>timeout_ms</code></em> :</span></p></td>
446
<td>the timeout in milliseconds, or -1 to use the
450
<td><p><span class="term"><em class="parameter"><code>in_Mechanism</code></em> :</span></p></td>
451
<td>Used to pass an 'in' argument: The chosen mechanism.</td>
454
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
455
<td>called when the method call succeeds or fails;
456
may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no
460
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
461
<td>user-supplied data passed to the callback;
462
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
466
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
467
<td>called with the user_data as argument, after the
468
call has succeeded, failed or been cancelled;
469
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
473
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
474
<td>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be
475
weakly referenced; if it is destroyed, this call
476
will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
477
<em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
481
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
482
<td>a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
483
progress. It is borrowed from the object, and will become
484
invalid when the callback is called, the call is
485
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</td>
491
<div class="refsect2">
492
<a name="tp-cli-channel-interface-sasl-authentication-call-start-mechanism-with-data"></a><h3>tp_cli_channel_interface_sasl_authentication_call_start_mechanism_with_data ()</h3>
493
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_channel_interface_sasl_authentication_call_start_mechanism_with_data
494
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
495
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
496
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Mechanism</code></em>,
497
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *in_Initial_Data</code></em>,
498
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-sasl-authentication-callback-for-start-mechanism-with-data" title="tp_cli_channel_interface_sasl_authentication_callback_for_start_mechanism_with_data ()"><span class="type">tp_cli_channel_interface_sasl_authentication_callback_for_start_mechanism_with_data</span></a> callback</code></em>,
499
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
500
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
501
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
503
Start a StartMechanismWithData method call.
506
<tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>Start an authentication try using <var>Mechanism</var>, and send <var>Initial_Data</var> as the &quot;initial response&quot; defined in <a href="http://tools.ietf.org/html/rfc4422<span class="type">section-3.3</span>">RFC 4422 §3.3</a>.</p> <tp:rationale> <p>This method is appropriate for mechanisms where the client may send data first, such as <code>PLAIN</code>, or must send data first, such as <code><a href="http://tools.ietf.org/html/rfc2831">DIGEST-MD5</a></code> in &quot;subsequent authentication&quot; mode.</p> <p>Having two methods allows any mechanism where it makes a difference to distinguish between the absence of an initial response (<tp:member-ref>StartMechanism</tp:member-ref>) and a zero-byte initial response (StartMechanismWithData, with Initial_Data empty).</p> </tp:rationale> <p>If the <tp:member-ref>HasInitialData</tp:member-ref> property is false, this indicates that the underlying protocol does not make it possible to send initial data. In such protocols, this method may only be used for the <code>X-TELEPATHY-</code> pseudo-mechanisms (such as <code>X-TELEPATHY-PASSWORD</code>), and will fail if used with an ordinary SASL mechanism.</p> <tp:rationale> <p>For instance, the IRC SASL extension implemented in Charybdis and Atheme does not support initial data - the first message in the exchange only carries the mechanism. This is significant if using <code><a href="http://tools.ietf.org/html/rfc2831">DIGEST-MD5</a></code>, which cannot be used in the faster &quot;subsequent authentication&quot; mode on a protocol not supporting initial data.</p> </tp:rationale>
508
<div class="variablelist"><table border="0" class="variablelist">
510
<col align="left" valign="top">
515
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
516
<td>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a>
520
<td><p><span class="term"><em class="parameter"><code>timeout_ms</code></em> :</span></p></td>
521
<td>the timeout in milliseconds, or -1 to use the
525
<td><p><span class="term"><em class="parameter"><code>in_Mechanism</code></em> :</span></p></td>
526
<td>Used to pass an 'in' argument: The chosen mechanism.</td>
529
<td><p><span class="term"><em class="parameter"><code>in_Initial_Data</code></em> :</span></p></td>
530
<td>Used to pass an 'in' argument: Initial data (an &quot;initial response&quot; in RFC 4422's terminology) to send with the mechanism.</td>
533
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
534
<td>called when the method call succeeds or fails;
535
may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no
539
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
540
<td>user-supplied data passed to the callback;
541
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
545
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
546
<td>called with the user_data as argument, after the
547
call has succeeded, failed or been cancelled;
548
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
552
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
553
<td>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be
554
weakly referenced; if it is destroyed, this call
555
will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
556
<em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
560
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
561
<td>a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
562
progress. It is borrowed from the object, and will become
563
invalid when the callback is called, the call is
564
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</td>
570
<div class="refsect2">
571
<a name="tp-cli-channel-interface-sasl-authentication-callback-for-abort-sasl"></a><h3>tp_cli_channel_interface_sasl_authentication_callback_for_abort_sasl ()</h3>
572
<pre class="programlisting"><span class="returnvalue">void</span> (*tp_cli_channel_interface_sasl_authentication_callback_for_abort_sasl)
573
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
574
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
575
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
576
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
578
Signature of the callback called when a AbortSASL method call
581
<div class="variablelist"><table border="0" class="variablelist">
583
<col align="left" valign="top">
588
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
589
<td>the proxy on which the call was made</td>
592
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
594
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure</td>
597
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
598
<td>user-supplied data</td>
601
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
602
<td>user-supplied object</td>
608
<div class="refsect2">
609
<a name="tp-cli-channel-interface-sasl-authentication-callback-for-accept-sasl"></a><h3>tp_cli_channel_interface_sasl_authentication_callback_for_accept_sasl ()</h3>
610
<pre class="programlisting"><span class="returnvalue">void</span> (*tp_cli_channel_interface_sasl_authentication_callback_for_accept_sasl)
611
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
612
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
613
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
614
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
616
Signature of the callback called when a AcceptSASL method call
619
<div class="variablelist"><table border="0" class="variablelist">
621
<col align="left" valign="top">
626
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
627
<td>the proxy on which the call was made</td>
630
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
632
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure</td>
635
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
636
<td>user-supplied data</td>
639
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
640
<td>user-supplied object</td>
646
<div class="refsect2">
647
<a name="tp-cli-channel-interface-sasl-authentication-callback-for-respond"></a><h3>tp_cli_channel_interface_sasl_authentication_callback_for_respond ()</h3>
648
<pre class="programlisting"><span class="returnvalue">void</span> (*tp_cli_channel_interface_sasl_authentication_callback_for_respond)
649
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
650
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
651
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
652
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
654
Signature of the callback called when a Respond method call
657
<div class="variablelist"><table border="0" class="variablelist">
659
<col align="left" valign="top">
664
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
665
<td>the proxy on which the call was made</td>
668
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
670
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure</td>
673
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
674
<td>user-supplied data</td>
677
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
678
<td>user-supplied object</td>
684
<div class="refsect2">
685
<a name="tp-cli-channel-interface-sasl-authentication-callback-for-start-mechanism"></a><h3>tp_cli_channel_interface_sasl_authentication_callback_for_start_mechanism ()</h3>
686
<pre class="programlisting"><span class="returnvalue">void</span> (*tp_cli_channel_interface_sasl_authentication_callback_for_start_mechanism)
687
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
688
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
689
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
690
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
692
Signature of the callback called when a StartMechanism method call
695
<div class="variablelist"><table border="0" class="variablelist">
697
<col align="left" valign="top">
702
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
703
<td>the proxy on which the call was made</td>
706
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
708
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure</td>
711
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
712
<td>user-supplied data</td>
715
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
716
<td>user-supplied object</td>
722
<div class="refsect2">
723
<a name="tp-cli-channel-interface-sasl-authentication-callback-for-start-mechanism-with-data"></a><h3>tp_cli_channel_interface_sasl_authentication_callback_for_start_mechanism_with_data ()</h3>
724
<pre class="programlisting"><span class="returnvalue">void</span> (*tp_cli_channel_interface_sasl_authentication_callback_for_start_mechanism_with_data)
725
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
726
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
727
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
728
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
730
Signature of the callback called when a StartMechanismWithData method call
733
<div class="variablelist"><table border="0" class="variablelist">
735
<col align="left" valign="top">
740
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
741
<td>the proxy on which the call was made</td>
744
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
746
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure</td>
749
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
750
<td>user-supplied data</td>
753
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
754
<td>user-supplied object</td>
760
<div class="refsect2">
761
<a name="tp-cli-channel-interface-sasl-authentication-connect-to-new-challenge"></a><h3>tp_cli_channel_interface_sasl_authentication_connect_to_new_challenge ()</h3>
762
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> * tp_cli_channel_interface_sasl_authentication_connect_to_new_challenge
763
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
764
<em class="parameter"><code><span class="type">tp_cli_channel_interface_sasl_authentication_signal_callback_new_challenge</span> callback</code></em>,
765
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
766
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
767
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>,
768
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
770
Connect a handler to the signal NewChallenge.
773
<tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>Emitted when a new challenge is received from the server, or when a message indicating successful authentication and containing additional data is received from the server.</p> <p>When the channel's handler is ready to proceed, it should respond to the challenge by calling <tp:member-ref>Respond</tp:member-ref>, or respond to the additional data by calling <tp:member-ref>AcceptSASL</tp:member-ref>. Alternatively, it may call <tp:member-ref>AbortSASL</tp:member-ref> to abort authentication.</p>
775
<div class="variablelist"><table border="0" class="variablelist">
777
<col align="left" valign="top">
782
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
783
<td>A <a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> or subclass</td>
786
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
787
<td>Callback to be called when the signal is
791
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
792
<td>User-supplied data for the callback</td>
795
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
796
<td>Destructor for the user-supplied data, which
797
will be called when this signal is disconnected, or
798
before this function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
802
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
803
<td>A <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be weakly referenced;
804
if it is destroyed, this callback will automatically be
808
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
809
<td>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, used to raise an error if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is
813
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
814
<td>a <a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="type">TpProxySignalConnection</span></a> containing all of the
815
above, which can be used to disconnect the signal; or
816
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the proxy does not have the desired interface
817
or has become invalid.</td>
823
<div class="refsect2">
824
<a name="tp-cli-channel-interface-sasl-authentication-connect-to-sasl-status-changed"></a><h3>tp_cli_channel_interface_sasl_authentication_connect_to_sasl_status_changed ()</h3>
825
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> * tp_cli_channel_interface_sasl_authentication_connect_to_sasl_status_changed
826
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
827
<em class="parameter"><code><span class="type">tp_cli_channel_interface_sasl_authentication_signal_callback_sasl_status_changed</span> callback</code></em>,
828
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
829
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
830
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>,
831
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
833
Connect a handler to the signal SASLStatusChanged.
836
Emitted when the status of the channel changes.
838
<div class="variablelist"><table border="0" class="variablelist">
840
<col align="left" valign="top">
845
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
846
<td>A <a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> or subclass</td>
849
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
850
<td>Callback to be called when the signal is
854
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
855
<td>User-supplied data for the callback</td>
858
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
859
<td>Destructor for the user-supplied data, which
860
will be called when this signal is disconnected, or
861
before this function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
865
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
866
<td>A <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be weakly referenced;
867
if it is destroyed, this callback will automatically be
871
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
872
<td>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, used to raise an error if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is
876
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
877
<td>a <a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="type">TpProxySignalConnection</span></a> containing all of the
878
above, which can be used to disconnect the signal; or
879
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the proxy does not have the desired interface
880
or has become invalid.</td>
886
<div class="refsect2">
887
<a name="tp-cli-channel-interface-captcha-authentication-call-answer-captchas"></a><h3>tp_cli_channel_interface_captcha_authentication_call_answer_captchas ()</h3>
888
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_channel_interface_captcha_authentication_call_answer_captchas
889
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
890
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
891
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *in_Answers</code></em>,
892
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-captcha-authentication-callback-for-answer-captchas" title="tp_cli_channel_interface_captcha_authentication_callback_for_answer_captchas ()"><span class="type">tp_cli_channel_interface_captcha_authentication_callback_for_answer_captchas</span></a> callback</code></em>,
893
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
894
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
895
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
897
Start a AnswerCaptchas method call.
900
<tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>Answer as many captchas as desired and/or required.</p> <p>Callable in state Local_Pending only. State changes to Remote_Pending.</p>
902
<div class="variablelist"><table border="0" class="variablelist">
904
<col align="left" valign="top">
909
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
910
<td>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a>
914
<td><p><span class="term"><em class="parameter"><code>timeout_ms</code></em> :</span></p></td>
915
<td>the timeout in milliseconds, or -1 to use the
919
<td><p><span class="term"><em class="parameter"><code>in_Answers</code></em> :</span></p></td>
920
<td>Used to pass an 'in' argument: The mapping of captcha IDs to answer strings.</td>
923
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
924
<td>called when the method call succeeds or fails;
925
may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no
929
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
930
<td>user-supplied data passed to the callback;
931
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
935
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
936
<td>called with the user_data as argument, after the
937
call has succeeded, failed or been cancelled;
938
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
942
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
943
<td>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be
944
weakly referenced; if it is destroyed, this call
945
will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
946
<em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
950
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
951
<td>a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
952
progress. It is borrowed from the object, and will become
953
invalid when the callback is called, the call is
954
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</td>
960
<div class="refsect2">
961
<a name="tp-cli-channel-interface-captcha-authentication-call-cancel-captcha"></a><h3>tp_cli_channel_interface_captcha_authentication_call_cancel_captcha ()</h3>
962
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_channel_interface_captcha_authentication_call_cancel_captcha
963
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
964
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
965
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> in_Reason</code></em>,
966
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Debug_Message</code></em>,
967
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-captcha-authentication-callback-for-cancel-captcha" title="tp_cli_channel_interface_captcha_authentication_callback_for_cancel_captcha ()"><span class="type">tp_cli_channel_interface_captcha_authentication_callback_for_cancel_captcha</span></a> callback</code></em>,
968
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
969
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
970
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
972
Start a CancelCaptcha method call.
975
<tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>Cancel. State changes to Failed with error NotAvailable or Cancelled if it isn't already Failed. All you can do now is to close the channel.</p>
977
<div class="variablelist"><table border="0" class="variablelist">
979
<col align="left" valign="top">
984
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
985
<td>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a>
989
<td><p><span class="term"><em class="parameter"><code>timeout_ms</code></em> :</span></p></td>
990
<td>the timeout in milliseconds, or -1 to use the
994
<td><p><span class="term"><em class="parameter"><code>in_Reason</code></em> :</span></p></td>
995
<td>Used to pass an 'in' argument: Reason for cancelling. This MAY be used to choose an error response to the remote server, and SHOULD also be reflected in the <tp:member-ref>CaptchaError</tp:member-ref>. (<a class="link" href="telepathy-glib-enums.html#TpCaptchaCancelReason" title="enum TpCaptchaCancelReason"><span class="type">TpCaptchaCancelReason</span></a>)</td>
998
<td><p><span class="term"><em class="parameter"><code>in_Debug_Message</code></em> :</span></p></td>
999
<td>Used to pass an 'in' argument: A textual description of the reason for cancelling, supplied by the Handler. This message SHOULD NOT be sent to the remote server, but SHOULD be copied into the 'debug-message' field of the <tp:member-ref>CaptchaErrorDetails</tp:member-ref> and <tp:dbus-ref namespace="ofdT.Connection">ConnectionError</tp:dbus-ref>.</td>
1002
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
1003
<td>called when the method call succeeds or fails;
1004
may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no
1008
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1009
<td>user-supplied data passed to the callback;
1010
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1014
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
1015
<td>called with the user_data as argument, after the
1016
call has succeeded, failed or been cancelled;
1017
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1021
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
1022
<td>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be
1023
weakly referenced; if it is destroyed, this call
1024
will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
1025
<em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1029
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1030
<td>a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
1031
progress. It is borrowed from the object, and will become
1032
invalid when the callback is called, the call is
1033
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</td>
1039
<div class="refsect2">
1040
<a name="tp-cli-channel-interface-captcha-authentication-call-get-captcha-data"></a><h3>tp_cli_channel_interface_captcha_authentication_call_get_captcha_data ()</h3>
1041
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_channel_interface_captcha_authentication_call_get_captcha_data
1042
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
1043
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
1044
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> in_ID</code></em>,
1045
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Mime_Type</code></em>,
1046
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-captcha-authentication-callback-for-get-captcha-data" title="tp_cli_channel_interface_captcha_authentication_callback_for_get_captcha_data ()"><span class="type">tp_cli_channel_interface_captcha_authentication_callback_for_get_captcha_data</span></a> callback</code></em>,
1047
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
1048
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
1049
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
1051
Start a GetCaptchaData method call.
1054
<tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>Fetch and return the captcha data. In protocols where captchas are downloaded out-of-band (for instance via HTTP), the connection manager is expected to do so.</p> <p>Returns an empty array if the type was &quot;qa&quot;</p> <tp:rationale> <p>If audio-based and image-based captchas are both available, we don't want to waste time downloading the audio until/unless the user asks to hear it. The extra D-Bus round-trips are not a problem, since they are expected to be quick compared with the time taken for the user to solve the captcha.</p> </tp:rationale>
1056
<div class="variablelist"><table border="0" class="variablelist">
1058
<col align="left" valign="top">
1063
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
1064
<td>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a>
1068
<td><p><span class="term"><em class="parameter"><code>timeout_ms</code></em> :</span></p></td>
1069
<td>the timeout in milliseconds, or -1 to use the
1073
<td><p><span class="term"><em class="parameter"><code>in_ID</code></em> :</span></p></td>
1074
<td>Used to pass an 'in' argument: The ID of the captcha of which to retrieve data.</td>
1077
<td><p><span class="term"><em class="parameter"><code>in_Mime_Type</code></em> :</span></p></td>
1078
<td>Used to pass an 'in' argument: MIME type picked by the Handler, chosen from the list of MIME types received in <tp:member-ref>GetCaptchas</tp:member-ref>. <tp:rationale> XEP-0158 allows the same captcha to be made available in multiple formats, for instance the same spoken question as audio/x-wav, application/ogg and audio/speex. </tp:rationale></td>
1081
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
1082
<td>called when the method call succeeds or fails;
1083
may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no
1087
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1088
<td>user-supplied data passed to the callback;
1089
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1093
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
1094
<td>called with the user_data as argument, after the
1095
call has succeeded, failed or been cancelled;
1096
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1100
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
1101
<td>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be
1102
weakly referenced; if it is destroyed, this call
1103
will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
1104
<em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1108
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1109
<td>a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
1110
progress. It is borrowed from the object, and will become
1111
invalid when the callback is called, the call is
1112
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</td>
1118
<div class="refsect2">
1119
<a name="tp-cli-channel-interface-captcha-authentication-call-get-captchas"></a><h3>tp_cli_channel_interface_captcha_authentication_call_get_captchas ()</h3>
1120
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_channel_interface_captcha_authentication_call_get_captchas
1121
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
1122
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
1123
<em class="parameter"><code><a class="link" href="telepathy-glib-channel-auth.html#tp-cli-channel-interface-captcha-authentication-callback-for-get-captchas" title="tp_cli_channel_interface_captcha_authentication_callback_for_get_captchas ()"><span class="type">tp_cli_channel_interface_captcha_authentication_callback_for_get_captchas</span></a> callback</code></em>,
1124
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
1125
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
1126
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
1128
Start a GetCaptchas method call.
1131
<tp:docstring xmlns="http://www.w3.org/1999/xhtml"> <p>Gets information regarding each of the captcha methods available and which and how many need to be successfully answered</p> <p>To call this method successfully, the state must be Local_Pending or Try_Again. If it is Local_Pending, it remains Local_Pending. If called more than once while in Local_Pending state, or if the state is Try_Again, this method fetches a new set of captcha challenges, if possible, and the state returns to Local_Pending.</p> <tp:rationale> <p>For instance, you could call GetCaptchas again from Local_Pending state if the user indicates that they can't understand the initially-offered captcha.</p> <p>This is a method, not a property, so that it can be used to fetch more than one set of captcha challenges, and so that change notification is not required. Only the Handler should call this method and calling GetAll would not reduce round-trips, so the usual reasons to prefer a property do not apply here.</p> </tp:rationale>
1133
<div class="variablelist"><table border="0" class="variablelist">
1135
<col align="left" valign="top">
1140
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
1141
<td>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a>
1145
<td><p><span class="term"><em class="parameter"><code>timeout_ms</code></em> :</span></p></td>
1146
<td>the timeout in milliseconds, or -1 to use the
1150
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
1151
<td>called when the method call succeeds or fails;
1152
may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no
1156
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1157
<td>user-supplied data passed to the callback;
1158
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1162
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
1163
<td>called with the user_data as argument, after the
1164
call has succeeded, failed or been cancelled;
1165
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1169
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
1170
<td>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be
1171
weakly referenced; if it is destroyed, this call
1172
will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
1173
<em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1177
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1178
<td>a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
1179
progress. It is borrowed from the object, and will become
1180
invalid when the callback is called, the call is
1181
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</td>
1187
<div class="refsect2">
1188
<a name="tp-cli-channel-interface-captcha-authentication-callback-for-answer-captchas"></a><h3>tp_cli_channel_interface_captcha_authentication_callback_for_answer_captchas ()</h3>
1189
<pre class="programlisting"><span class="returnvalue">void</span> (*tp_cli_channel_interface_captcha_authentication_callback_for_answer_captchas)
1190
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
1191
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
1192
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
1193
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
1195
Signature of the callback called when a AnswerCaptchas method call
1198
<div class="variablelist"><table border="0" class="variablelist">
1200
<col align="left" valign="top">
1205
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
1206
<td>the proxy on which the call was made</td>
1209
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1211
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure</td>
1214
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1215
<td>user-supplied data</td>
1218
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
1219
<td>user-supplied object</td>
1225
<div class="refsect2">
1226
<a name="tp-cli-channel-interface-captcha-authentication-callback-for-cancel-captcha"></a><h3>tp_cli_channel_interface_captcha_authentication_callback_for_cancel_captcha ()</h3>
1227
<pre class="programlisting"><span class="returnvalue">void</span> (*tp_cli_channel_interface_captcha_authentication_callback_for_cancel_captcha)
1228
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
1229
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
1230
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
1231
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
1233
Signature of the callback called when a CancelCaptcha method call
1236
<div class="variablelist"><table border="0" class="variablelist">
1238
<col align="left" valign="top">
1243
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
1244
<td>the proxy on which the call was made</td>
1247
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1249
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure</td>
1252
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1253
<td>user-supplied data</td>
1256
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
1257
<td>user-supplied object</td>
1263
<div class="refsect2">
1264
<a name="tp-cli-channel-interface-captcha-authentication-callback-for-get-captcha-data"></a><h3>tp_cli_channel_interface_captcha_authentication_callback_for_get_captcha_data ()</h3>
1265
<pre class="programlisting"><span class="returnvalue">void</span> (*tp_cli_channel_interface_captcha_authentication_callback_for_get_captcha_data)
1266
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
1267
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *out_Captcha_Data</code></em>,
1268
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
1269
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
1270
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
1272
Signature of the callback called when a GetCaptchaData method call
1275
<div class="variablelist"><table border="0" class="variablelist">
1277
<col align="left" valign="top">
1282
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
1283
<td>the proxy on which the call was made</td>
1286
<td><p><span class="term"><em class="parameter"><code>out_Captcha_Data</code></em> :</span></p></td>
1287
<td>Used to return an 'out' argument if <em class="parameter"><code>error</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>: Captcha data as requested.</td>
1290
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1292
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure</td>
1295
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1296
<td>user-supplied data</td>
1299
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
1300
<td>user-supplied object</td>
1306
<div class="refsect2">
1307
<a name="tp-cli-channel-interface-captcha-authentication-callback-for-get-captchas"></a><h3>tp_cli_channel_interface_captcha_authentication_callback_for_get_captchas ()</h3>
1308
<pre class="programlisting"><span class="returnvalue">void</span> (*tp_cli_channel_interface_captcha_authentication_callback_for_get_captchas)
1309
(<em class="parameter"><code><a class="link" href="telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a> *proxy</code></em>,
1310
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *out_Captcha_Info</code></em>,
1311
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> out_Number_Required</code></em>,
1312
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *out_Language</code></em>,
1313
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
1314
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
1315
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
1317
Signature of the callback called when a GetCaptchas method call
1320
<div class="variablelist"><table border="0" class="variablelist">
1322
<col align="left" valign="top">
1327
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
1328
<td>the proxy on which the call was made</td>
1331
<td><p><span class="term"><em class="parameter"><code>out_Captcha_Info</code></em> :</span></p></td>
1332
<td>Used to return an 'out' argument if <em class="parameter"><code>error</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>: <tp:docstring xmlns="http://www.w3.org/1999/xhtml"> Information about each of the available captcha methods.</td>
1335
<td><p><span class="term"><em class="parameter"><code>out_Number_Required</code></em> :</span></p></td>
1336
<td>Used to return an 'out' argument if <em class="parameter"><code>error</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>: <tp:docstring xmlns="http://www.w3.org/1999/xhtml"> The number of captcha methods required to be answered in order to successfully complete this captcha challenge (most frequently 1, but XMPP allows servers to demand that more than one captcha is answered).</td>
1339
<td><p><span class="term"><em class="parameter"><code>out_Language</code></em> :</span></p></td>
1340
<td>Used to return an 'out' argument if <em class="parameter"><code>error</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>: <tp:docstring xmlns="http://www.w3.org/1999/xhtml"> The language of each Label in Captcha_Info if available, for instance en_US, or &quot;&quot; if unknown.</td>
1343
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1345
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure</td>
1348
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1349
<td>user-supplied data</td>
1352
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
1353
<td>user-supplied object</td>
1548
1360
<div class="footer">
1550
Generated by GTK-Doc V1.20</div>
1362
Generated by GTK-Doc V1.19</div>
b'\\ No newline at end of file'