27
26
const <link linkend="char">char</link> *auth_header);
29
28
<link linkend="gboolean">gboolean</link> <link linkend="soup-auth-is-for-proxy">soup_auth_is_for_proxy</link> (<link linkend="SoupAuth">SoupAuth</link> *auth);
30
const <link linkend="char">char</link>* <link linkend="soup-auth-get-scheme-name">soup_auth_get_scheme_name</link> (<link linkend="SoupAuth">SoupAuth</link> *auth);
31
const <link linkend="char">char</link>* <link linkend="soup-auth-get-host">soup_auth_get_host</link> (<link linkend="SoupAuth">SoupAuth</link> *auth);
32
const <link linkend="char">char</link>* <link linkend="soup-auth-get-realm">soup_auth_get_realm</link> (<link linkend="SoupAuth">SoupAuth</link> *auth);
33
<link linkend="char">char</link>* <link linkend="soup-auth-get-info">soup_auth_get_info</link> (<link linkend="SoupAuth">SoupAuth</link> *auth);
29
const <link linkend="char">char</link> * <link linkend="soup-auth-get-scheme-name">soup_auth_get_scheme_name</link> (<link linkend="SoupAuth">SoupAuth</link> *auth);
30
const <link linkend="char">char</link> * <link linkend="soup-auth-get-host">soup_auth_get_host</link> (<link linkend="SoupAuth">SoupAuth</link> *auth);
31
const <link linkend="char">char</link> * <link linkend="soup-auth-get-realm">soup_auth_get_realm</link> (<link linkend="SoupAuth">SoupAuth</link> *auth);
32
<link linkend="char">char</link> * <link linkend="soup-auth-get-info">soup_auth_get_info</link> (<link linkend="SoupAuth">SoupAuth</link> *auth);
35
34
<link linkend="void">void</link> <link linkend="soup-auth-authenticate">soup_auth_authenticate</link> (<link linkend="SoupAuth">SoupAuth</link> *auth,
36
35
const <link linkend="char">char</link> *username,
37
36
const <link linkend="char">char</link> *password);
38
37
<link linkend="gboolean">gboolean</link> <link linkend="soup-auth-is-authenticated">soup_auth_is_authenticated</link> (<link linkend="SoupAuth">SoupAuth</link> *auth);
40
<link linkend="char">char</link>* <link linkend="soup-auth-get-authorization">soup_auth_get_authorization</link> (<link linkend="SoupAuth">SoupAuth</link> *auth,
39
<link linkend="char">char</link> * <link linkend="soup-auth-get-authorization">soup_auth_get_authorization</link> (<link linkend="SoupAuth">SoupAuth</link> *auth,
41
40
<link linkend="SoupMessage">SoupMessage</link> *msg);
42
<link linkend="GSList">GSList</link>* <link linkend="soup-auth-get-protection-space">soup_auth_get_protection_space</link> (<link linkend="SoupAuth">SoupAuth</link> *auth,
41
<link linkend="GSList">GSList</link> * <link linkend="soup-auth-get-protection-space">soup_auth_get_protection_space</link> (<link linkend="SoupAuth">SoupAuth</link> *auth,
43
42
<link linkend="SoupURI">SoupURI</link> *source_uri);
44
43
<link linkend="void">void</link> <link linkend="soup-auth-free-protection-space">soup_auth_free_protection_space</link> (<link linkend="SoupAuth">SoupAuth</link> *auth,
45
44
<link linkend="GSList">GSList</link> *space);
47
#define <link linkend="SOUP-AUTH-SCHEME-NAME:CAPS">SOUP_AUTH_SCHEME_NAME</link>
48
#define <link linkend="SOUP-AUTH-REALM:CAPS">SOUP_AUTH_REALM</link>
49
#define <link linkend="SOUP-AUTH-HOST:CAPS">SOUP_AUTH_HOST</link>
50
#define <link linkend="SOUP-AUTH-IS-FOR-PROXY:CAPS">SOUP_AUTH_IS_FOR_PROXY</link>
51
#define <link linkend="SOUP-AUTH-IS-AUTHENTICATED:CAPS">SOUP_AUTH_IS_AUTHENTICATED</link>
46
#define <link linkend="SOUP-AUTH-SCHEME-NAME--CAPS">SOUP_AUTH_SCHEME_NAME</link>
47
#define <link linkend="SOUP-AUTH-REALM--CAPS">SOUP_AUTH_REALM</link>
48
#define <link linkend="SOUP-AUTH-HOST--CAPS">SOUP_AUTH_HOST</link>
49
#define <link linkend="SOUP-AUTH-IS-FOR-PROXY--CAPS">SOUP_AUTH_IS_FOR_PROXY</link>
50
#define <link linkend="SOUP-AUTH-IS-AUTHENTICATED--CAPS">SOUP_AUTH_IS_AUTHENTICATED</link>
140
135
possibly un-authenticating it. As with <link linkend="soup-auth-new"><function>soup_auth_new()</function></link>, this is
141
136
normally only used by <link linkend="SoupSession"><type>SoupSession</type></link>.</para>
144
138
</para><variablelist role="params">
145
<varlistentry><term><parameter>auth</parameter> :</term>
139
<varlistentry><term><parameter>auth</parameter> :</term>
146
140
<listitem><simpara> a <link linkend="SoupAuth"><type>SoupAuth</type></link>
147
141
</simpara></listitem></varlistentry>
148
<varlistentry><term><parameter>msg</parameter> :</term>
142
<varlistentry><term><parameter>msg</parameter> :</term>
149
143
<listitem><simpara> the <link linkend="SoupMessage"><type>SoupMessage</type></link> <parameter>auth</parameter> is being updated for
150
144
</simpara></listitem></varlistentry>
151
<varlistentry><term><parameter>auth_header</parameter> :</term>
145
<varlistentry><term><parameter>auth_header</parameter> :</term>
152
146
<listitem><simpara> the WWW-Authenticate/Proxy-Authenticate header
153
147
</simpara></listitem></varlistentry>
154
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if <parameter>auth</parameter> is still a valid (but potentially
155
unauthenticated) <link linkend="SoupAuth"><type>SoupAuth</type></link>. <link linkend="FALSE:CAPS"><literal>FALSE</literal></link> if something about <parameter>auth_params</parameter>
148
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> <link linkend="TRUE--CAPS"><literal>TRUE</literal></link> if <parameter>auth</parameter> is still a valid (but potentially
149
unauthenticated) <link linkend="SoupAuth"><type>SoupAuth</type></link>. <link linkend="FALSE--CAPS"><literal>FALSE</literal></link> if something about <parameter>auth_params</parameter>
156
150
could not be parsed or incorporated into <parameter>auth</parameter> at all.
157
151
</simpara></listitem></varlistentry>
158
152
</variablelist></refsect2>
159
153
<refsect2 id="soup-auth-is-for-proxy" role="function">
160
154
<title>soup_auth_is_for_proxy ()</title>
161
<indexterm zone="soup-auth-is-for-proxy"><primary>soup_auth_is_for_proxy</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> soup_auth_is_for_proxy (<link linkend="SoupAuth">SoupAuth</link> *auth);</programlisting>
155
<indexterm zone="soup-auth-is-for-proxy"><primary sortas="soup_auth_is_for_proxy">soup_auth_is_for_proxy</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> soup_auth_is_for_proxy (<link linkend="SoupAuth">SoupAuth</link> *auth);</programlisting>
163
157
Tests whether or not <parameter>auth</parameter> is associated with a proxy server rather
164
158
than an "origin" server.</para>
167
160
</para><variablelist role="params">
168
<varlistentry><term><parameter>auth</parameter> :</term>
161
<varlistentry><term><parameter>auth</parameter> :</term>
169
162
<listitem><simpara> a <link linkend="SoupAuth"><type>SoupAuth</type></link>
170
163
</simpara></listitem></varlistentry>
171
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> or <link linkend="FALSE:CAPS"><literal>FALSE</literal></link>
164
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> <link linkend="TRUE--CAPS"><literal>TRUE</literal></link> or <link linkend="FALSE--CAPS"><literal>FALSE</literal></link>
172
165
</simpara></listitem></varlistentry>
173
166
</variablelist></refsect2>
174
167
<refsect2 id="soup-auth-get-scheme-name" role="function">
175
168
<title>soup_auth_get_scheme_name ()</title>
176
<indexterm zone="soup-auth-get-scheme-name"><primary>soup_auth_get_scheme_name</primary></indexterm><programlisting>const <link linkend="char">char</link>* soup_auth_get_scheme_name (<link linkend="SoupAuth">SoupAuth</link> *auth);</programlisting>
169
<indexterm zone="soup-auth-get-scheme-name"><primary sortas="soup_auth_get_scheme_name">soup_auth_get_scheme_name</primary></indexterm><programlisting>const <link linkend="char">char</link> * soup_auth_get_scheme_name (<link linkend="SoupAuth">SoupAuth</link> *auth);</programlisting>
178
171
Returns <parameter>auth</parameter>'s scheme name. (Eg, "Basic", "Digest", or "NTLM")</para>
181
173
</para><variablelist role="params">
182
<varlistentry><term><parameter>auth</parameter> :</term>
174
<varlistentry><term><parameter>auth</parameter> :</term>
183
175
<listitem><simpara> a <link linkend="SoupAuth"><type>SoupAuth</type></link>
184
176
</simpara></listitem></varlistentry>
185
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> the scheme name
177
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> the scheme name
186
178
</simpara></listitem></varlistentry>
187
179
</variablelist></refsect2>
188
180
<refsect2 id="soup-auth-get-host" role="function">
189
181
<title>soup_auth_get_host ()</title>
190
<indexterm zone="soup-auth-get-host"><primary>soup_auth_get_host</primary></indexterm><programlisting>const <link linkend="char">char</link>* soup_auth_get_host (<link linkend="SoupAuth">SoupAuth</link> *auth);</programlisting>
182
<indexterm zone="soup-auth-get-host"><primary sortas="soup_auth_get_host">soup_auth_get_host</primary></indexterm><programlisting>const <link linkend="char">char</link> * soup_auth_get_host (<link linkend="SoupAuth">SoupAuth</link> *auth);</programlisting>
192
184
Returns the host that <parameter>auth</parameter> is associated with.</para>
195
186
</para><variablelist role="params">
196
<varlistentry><term><parameter>auth</parameter> :</term>
187
<varlistentry><term><parameter>auth</parameter> :</term>
197
188
<listitem><simpara> a <link linkend="SoupAuth"><type>SoupAuth</type></link>
198
189
</simpara></listitem></varlistentry>
199
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> the hostname
190
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> the hostname
200
191
</simpara></listitem></varlistentry>
201
192
</variablelist></refsect2>
202
193
<refsect2 id="soup-auth-get-realm" role="function">
203
194
<title>soup_auth_get_realm ()</title>
204
<indexterm zone="soup-auth-get-realm"><primary>soup_auth_get_realm</primary></indexterm><programlisting>const <link linkend="char">char</link>* soup_auth_get_realm (<link linkend="SoupAuth">SoupAuth</link> *auth);</programlisting>
195
<indexterm zone="soup-auth-get-realm"><primary sortas="soup_auth_get_realm">soup_auth_get_realm</primary></indexterm><programlisting>const <link linkend="char">char</link> * soup_auth_get_realm (<link linkend="SoupAuth">SoupAuth</link> *auth);</programlisting>
206
197
Returns <parameter>auth</parameter>'s realm. This is an identifier that distinguishes
207
198
separate authentication spaces on a given server, and may be some
208
199
string that is meaningful to the user. (Although it is probably not
209
200
localized.)</para>
212
202
</para><variablelist role="params">
213
<varlistentry><term><parameter>auth</parameter> :</term>
203
<varlistentry><term><parameter>auth</parameter> :</term>
214
204
<listitem><simpara> a <link linkend="SoupAuth"><type>SoupAuth</type></link>
215
205
</simpara></listitem></varlistentry>
216
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> the realm name
206
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> the realm name
217
207
</simpara></listitem></varlistentry>
218
208
</variablelist></refsect2>
219
209
<refsect2 id="soup-auth-get-info" role="function">
220
210
<title>soup_auth_get_info ()</title>
221
<indexterm zone="soup-auth-get-info"><primary>soup_auth_get_info</primary></indexterm><programlisting><link linkend="char">char</link>* soup_auth_get_info (<link linkend="SoupAuth">SoupAuth</link> *auth);</programlisting>
211
<indexterm zone="soup-auth-get-info"><primary sortas="soup_auth_get_info">soup_auth_get_info</primary></indexterm><programlisting><link linkend="char">char</link> * soup_auth_get_info (<link linkend="SoupAuth">SoupAuth</link> *auth);</programlisting>
223
213
Gets an opaque identifier for <parameter>auth</parameter>, for use as a hash key or the
224
214
like. <link linkend="SoupAuth"><type>SoupAuth</type></link> objects from the same server with the same
225
215
identifier refer to the same authentication domain (eg, the URLs
226
216
associated with them take the same usernames and passwords).</para>
229
218
</para><variablelist role="params">
230
<varlistentry><term><parameter>auth</parameter> :</term>
219
<varlistentry><term><parameter>auth</parameter> :</term>
231
220
<listitem><simpara> a <link linkend="SoupAuth"><type>SoupAuth</type></link>
232
221
</simpara></listitem></varlistentry>
233
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> the identifier
222
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> the identifier
234
223
</simpara></listitem></varlistentry>
235
224
</variablelist></refsect2>
236
225
<refsect2 id="soup-auth-authenticate" role="function">
237
226
<title>soup_auth_authenticate ()</title>
238
<indexterm zone="soup-auth-authenticate"><primary>soup_auth_authenticate</primary></indexterm><programlisting><link linkend="void">void</link> soup_auth_authenticate (<link linkend="SoupAuth">SoupAuth</link> *auth,
227
<indexterm zone="soup-auth-authenticate"><primary sortas="soup_auth_authenticate">soup_auth_authenticate</primary></indexterm><programlisting><link linkend="void">void</link> soup_auth_authenticate (<link linkend="SoupAuth">SoupAuth</link> *auth,
239
228
const <link linkend="char">char</link> *username,
240
229
const <link linkend="char">char</link> *password);</programlisting>
242
231
Call this on an auth to authenticate it; normally this will cause
243
232
the auth's message to be requeued with the new authentication info.</para>
246
234
</para><variablelist role="params">
247
<varlistentry><term><parameter>auth</parameter> :</term>
235
<varlistentry><term><parameter>auth</parameter> :</term>
248
236
<listitem><simpara> a <link linkend="SoupAuth"><type>SoupAuth</type></link>
249
237
</simpara></listitem></varlistentry>
250
<varlistentry><term><parameter>username</parameter> :</term>
238
<varlistentry><term><parameter>username</parameter> :</term>
251
239
<listitem><simpara> the username provided by the user or client
252
240
</simpara></listitem></varlistentry>
253
<varlistentry><term><parameter>password</parameter> :</term>
241
<varlistentry><term><parameter>password</parameter> :</term>
254
242
<listitem><simpara> the password provided by the user or client
255
243
</simpara></listitem></varlistentry>
256
244
</variablelist></refsect2>
257
245
<refsect2 id="soup-auth-is-authenticated" role="function">
258
246
<title>soup_auth_is_authenticated ()</title>
259
<indexterm zone="soup-auth-is-authenticated"><primary>soup_auth_is_authenticated</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> soup_auth_is_authenticated (<link linkend="SoupAuth">SoupAuth</link> *auth);</programlisting>
247
<indexterm zone="soup-auth-is-authenticated"><primary sortas="soup_auth_is_authenticated">soup_auth_is_authenticated</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> soup_auth_is_authenticated (<link linkend="SoupAuth">SoupAuth</link> *auth);</programlisting>
261
249
Tests if <parameter>auth</parameter> has been given a username and password</para>
264
251
</para><variablelist role="params">
265
<varlistentry><term><parameter>auth</parameter> :</term>
252
<varlistentry><term><parameter>auth</parameter> :</term>
266
253
<listitem><simpara> a <link linkend="SoupAuth"><type>SoupAuth</type></link>
267
254
</simpara></listitem></varlistentry>
268
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if <parameter>auth</parameter> has been given a username and password
255
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> <link linkend="TRUE--CAPS"><literal>TRUE</literal></link> if <parameter>auth</parameter> has been given a username and password
269
256
</simpara></listitem></varlistentry>
270
257
</variablelist></refsect2>
271
258
<refsect2 id="soup-auth-get-authorization" role="function">
272
259
<title>soup_auth_get_authorization ()</title>
273
<indexterm zone="soup-auth-get-authorization"><primary>soup_auth_get_authorization</primary></indexterm><programlisting><link linkend="char">char</link>* soup_auth_get_authorization (<link linkend="SoupAuth">SoupAuth</link> *auth,
260
<indexterm zone="soup-auth-get-authorization"><primary sortas="soup_auth_get_authorization">soup_auth_get_authorization</primary></indexterm><programlisting><link linkend="char">char</link> * soup_auth_get_authorization (<link linkend="SoupAuth">SoupAuth</link> *auth,
274
261
<link linkend="SoupMessage">SoupMessage</link> *msg);</programlisting>
276
263
Generates an appropriate "Authorization" header for <parameter>msg</parameter>. (The
277
264
session will only call this if <link linkend="soup-auth-is-authenticated"><function>soup_auth_is_authenticated()</function></link>
278
returned <link linkend="TRUE:CAPS"><literal>TRUE</literal></link>.)</para>
265
returned <link linkend="TRUE--CAPS"><literal>TRUE</literal></link>.)</para>
281
267
</para><variablelist role="params">
282
<varlistentry><term><parameter>auth</parameter> :</term>
268
<varlistentry><term><parameter>auth</parameter> :</term>
283
269
<listitem><simpara> a <link linkend="SoupAuth"><type>SoupAuth</type></link>
284
270
</simpara></listitem></varlistentry>
285
<varlistentry><term><parameter>msg</parameter> :</term>
271
<varlistentry><term><parameter>msg</parameter> :</term>
286
272
<listitem><simpara> the <link linkend="SoupMessage"><type>SoupMessage</type></link> to be authorized
287
273
</simpara></listitem></varlistentry>
288
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> the "Authorization" header, which must be freed.
274
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> the "Authorization" header, which must be freed.
289
275
</simpara></listitem></varlistentry>
290
276
</variablelist></refsect2>
291
277
<refsect2 id="soup-auth-get-protection-space" role="function">
292
278
<title>soup_auth_get_protection_space ()</title>
293
<indexterm zone="soup-auth-get-protection-space"><primary>soup_auth_get_protection_space</primary></indexterm><programlisting><link linkend="GSList">GSList</link>* soup_auth_get_protection_space (<link linkend="SoupAuth">SoupAuth</link> *auth,
279
<indexterm zone="soup-auth-get-protection-space"><primary sortas="soup_auth_get_protection_space">soup_auth_get_protection_space</primary></indexterm><programlisting><link linkend="GSList">GSList</link> * soup_auth_get_protection_space (<link linkend="SoupAuth">SoupAuth</link> *auth,
294
280
<link linkend="SoupURI">SoupURI</link> *source_uri);</programlisting>
296
282
Returns a list of paths on the server which <parameter>auth</parameter> extends over.
298
284
of <parameter>auth</parameter>'s protection space, unless otherwise discovered not to
302
287
</para><variablelist role="params">
303
<varlistentry><term><parameter>auth</parameter> :</term>
288
<varlistentry><term><parameter>auth</parameter> :</term>
304
289
<listitem><simpara> a <link linkend="SoupAuth"><type>SoupAuth</type></link>
305
290
</simpara></listitem></varlistentry>
306
<varlistentry><term><parameter>source_uri</parameter> :</term>
291
<varlistentry><term><parameter>source_uri</parameter> :</term>
307
292
<listitem><simpara> the URI of the request that <parameter>auth</parameter> was generated in
309
294
</simpara></listitem></varlistentry>
310
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> the list of paths, which must be freed with
295
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> the list of paths, which must be freed with
311
296
<link linkend="soup-auth-free-protection-space"><function>soup_auth_free_protection_space()</function></link>.
312
297
</simpara></listitem></varlistentry>
313
298
</variablelist></refsect2>
314
299
<refsect2 id="soup-auth-free-protection-space" role="function">
315
300
<title>soup_auth_free_protection_space ()</title>
316
<indexterm zone="soup-auth-free-protection-space"><primary>soup_auth_free_protection_space</primary></indexterm><programlisting><link linkend="void">void</link> soup_auth_free_protection_space (<link linkend="SoupAuth">SoupAuth</link> *auth,
301
<indexterm zone="soup-auth-free-protection-space"><primary sortas="soup_auth_free_protection_space">soup_auth_free_protection_space</primary></indexterm><programlisting><link linkend="void">void</link> soup_auth_free_protection_space (<link linkend="SoupAuth">SoupAuth</link> *auth,
317
302
<link linkend="GSList">GSList</link> *space);</programlisting>
319
304
Frees <parameter>space</parameter>.</para>
322
306
</para><variablelist role="params">
323
<varlistentry><term><parameter>auth</parameter> :</term>
307
<varlistentry><term><parameter>auth</parameter> :</term>
324
308
<listitem><simpara> a <link linkend="SoupAuth"><type>SoupAuth</type></link>
325
309
</simpara></listitem></varlistentry>
326
<varlistentry><term><parameter>space</parameter> :</term>
310
<varlistentry><term><parameter>space</parameter> :</term>
327
311
<listitem><simpara> the return value from <link linkend="soup-auth-get-protection-space"><function>soup_auth_get_protection_space()</function></link>
328
312
</simpara></listitem></varlistentry>
329
313
</variablelist></refsect2>
330
<refsect2 id="SOUP-AUTH-SCHEME-NAME:CAPS" role="macro">
314
<refsect2 id="SOUP-AUTH-SCHEME-NAME--CAPS" role="macro">
331
315
<title>SOUP_AUTH_SCHEME_NAME</title>
332
<indexterm zone="SOUP-AUTH-SCHEME-NAME:CAPS"><primary>SOUP_AUTH_SCHEME_NAME</primary></indexterm><programlisting>#define SOUP_AUTH_SCHEME_NAME "scheme-name"
316
<indexterm zone="SOUP-AUTH-SCHEME-NAME--CAPS"><primary sortas="SOUP_AUTH_SCHEME_NAME">SOUP_AUTH_SCHEME_NAME</primary></indexterm><programlisting>#define SOUP_AUTH_SCHEME_NAME "scheme-name"
333
317
</programlisting>
336
319
</para></refsect2>
337
<refsect2 id="SOUP-AUTH-REALM:CAPS" role="macro">
320
<refsect2 id="SOUP-AUTH-REALM--CAPS" role="macro">
338
321
<title>SOUP_AUTH_REALM</title>
339
<indexterm zone="SOUP-AUTH-REALM:CAPS"><primary>SOUP_AUTH_REALM</primary></indexterm><programlisting>#define SOUP_AUTH_REALM "realm"
322
<indexterm zone="SOUP-AUTH-REALM--CAPS"><primary sortas="SOUP_AUTH_REALM">SOUP_AUTH_REALM</primary></indexterm><programlisting>#define SOUP_AUTH_REALM "realm"
340
323
</programlisting>
343
325
</para></refsect2>
344
<refsect2 id="SOUP-AUTH-HOST:CAPS" role="macro">
326
<refsect2 id="SOUP-AUTH-HOST--CAPS" role="macro">
345
327
<title>SOUP_AUTH_HOST</title>
346
<indexterm zone="SOUP-AUTH-HOST:CAPS"><primary>SOUP_AUTH_HOST</primary></indexterm><programlisting>#define SOUP_AUTH_HOST "host"
328
<indexterm zone="SOUP-AUTH-HOST--CAPS"><primary sortas="SOUP_AUTH_HOST">SOUP_AUTH_HOST</primary></indexterm><programlisting>#define SOUP_AUTH_HOST "host"
347
329
</programlisting>
350
331
</para></refsect2>
351
<refsect2 id="SOUP-AUTH-IS-FOR-PROXY:CAPS" role="macro">
332
<refsect2 id="SOUP-AUTH-IS-FOR-PROXY--CAPS" role="macro">
352
333
<title>SOUP_AUTH_IS_FOR_PROXY</title>
353
<indexterm zone="SOUP-AUTH-IS-FOR-PROXY:CAPS"><primary>SOUP_AUTH_IS_FOR_PROXY</primary></indexterm><programlisting>#define SOUP_AUTH_IS_FOR_PROXY "is-for-proxy"
334
<indexterm zone="SOUP-AUTH-IS-FOR-PROXY--CAPS"><primary sortas="SOUP_AUTH_IS_FOR_PROXY">SOUP_AUTH_IS_FOR_PROXY</primary></indexterm><programlisting>#define SOUP_AUTH_IS_FOR_PROXY "is-for-proxy"
354
335
</programlisting>
357
337
</para></refsect2>
358
<refsect2 id="SOUP-AUTH-IS-AUTHENTICATED:CAPS" role="macro">
338
<refsect2 id="SOUP-AUTH-IS-AUTHENTICATED--CAPS" role="macro">
359
339
<title>SOUP_AUTH_IS_AUTHENTICATED</title>
360
<indexterm zone="SOUP-AUTH-IS-AUTHENTICATED:CAPS"><primary>SOUP_AUTH_IS_AUTHENTICATED</primary></indexterm><programlisting>#define SOUP_AUTH_IS_AUTHENTICATED "is-authenticated"
340
<indexterm zone="SOUP-AUTH-IS-AUTHENTICATED--CAPS"><primary sortas="SOUP_AUTH_IS_AUTHENTICATED">SOUP_AUTH_IS_AUTHENTICATED</primary></indexterm><programlisting>#define SOUP_AUTH_IS_AUTHENTICATED "is-authenticated"
361
341
</programlisting>
364
343
</para></refsect2>
367
346
<refsect1 id="SoupAuth.property-details" role="property_details">
368
347
<title role="property_details.title">Property Details</title>
369
<refsect2 id="SoupAuth--host"><title>The <literal>"host"</literal> property</title>
370
<indexterm zone="SoupAuth--host"><primary>SoupAuth:host</primary></indexterm><programlisting> "host" <link linkend="gchar">gchar</link>* : Read / Write / Construct Only</programlisting>
348
<refsect2 id="SoupAuth--host" role="property"><title>The <literal>"host"</literal> property</title>
349
<indexterm zone="SoupAuth--host"><primary sortas="SoupAuth:host">SoupAuth:host</primary></indexterm><programlisting> "host" <link linkend="gchar">gchar</link>* : Read / Write / Construct Only</programlisting>
371
350
<para>Authentication host.</para><para>Default value: NULL</para>
373
<refsect2 id="SoupAuth--is-authenticated"><title>The <literal>"is-authenticated"</literal> property</title>
374
<indexterm zone="SoupAuth--is-authenticated"><primary>SoupAuth:is-authenticated</primary></indexterm><programlisting> "is-authenticated" <link linkend="gboolean">gboolean</link> : Read</programlisting>
352
<refsect2 id="SoupAuth--is-authenticated" role="property"><title>The <literal>"is-authenticated"</literal> property</title>
353
<indexterm zone="SoupAuth--is-authenticated"><primary sortas="SoupAuth:is-authenticated">SoupAuth:is-authenticated</primary></indexterm><programlisting> "is-authenticated" <link linkend="gboolean">gboolean</link> : Read</programlisting>
375
354
<para>Whether or not the auth is authenticated.</para><para>Default value: FALSE</para>
377
<refsect2 id="SoupAuth--is-for-proxy"><title>The <literal>"is-for-proxy"</literal> property</title>
378
<indexterm zone="SoupAuth--is-for-proxy"><primary>SoupAuth:is-for-proxy</primary></indexterm><programlisting> "is-for-proxy" <link linkend="gboolean">gboolean</link> : Read / Write / Construct Only</programlisting>
356
<refsect2 id="SoupAuth--is-for-proxy" role="property"><title>The <literal>"is-for-proxy"</literal> property</title>
357
<indexterm zone="SoupAuth--is-for-proxy"><primary sortas="SoupAuth:is-for-proxy">SoupAuth:is-for-proxy</primary></indexterm><programlisting> "is-for-proxy" <link linkend="gboolean">gboolean</link> : Read / Write / Construct Only</programlisting>
379
358
<para>Whether or not the auth is for a proxy server.</para><para>Default value: FALSE</para>
381
<refsect2 id="SoupAuth--realm"><title>The <literal>"realm"</literal> property</title>
382
<indexterm zone="SoupAuth--realm"><primary>SoupAuth:realm</primary></indexterm><programlisting> "realm" <link linkend="gchar">gchar</link>* : Read / Write / Construct Only</programlisting>
360
<refsect2 id="SoupAuth--realm" role="property"><title>The <literal>"realm"</literal> property</title>
361
<indexterm zone="SoupAuth--realm"><primary sortas="SoupAuth:realm">SoupAuth:realm</primary></indexterm><programlisting> "realm" <link linkend="gchar">gchar</link>* : Read / Write / Construct Only</programlisting>
383
362
<para>Authentication realm.</para><para>Default value: NULL</para>
385
<refsect2 id="SoupAuth--scheme-name"><title>The <literal>"scheme-name"</literal> property</title>
386
<indexterm zone="SoupAuth--scheme-name"><primary>SoupAuth:scheme-name</primary></indexterm><programlisting> "scheme-name" <link linkend="gchar">gchar</link>* : Read</programlisting>
364
<refsect2 id="SoupAuth--scheme-name" role="property"><title>The <literal>"scheme-name"</literal> property</title>
365
<indexterm zone="SoupAuth--scheme-name"><primary sortas="SoupAuth:scheme-name">SoupAuth:scheme-name</primary></indexterm><programlisting> "scheme-name" <link linkend="gchar">gchar</link>* : Read</programlisting>
387
366
<para>Authentication scheme name.</para><para>Default value: NULL</para>
394
372
<refsect1 id="SoupAuth.see-also">
395
373
<title>See Also</title>
396
<link linkend="SoupSession"><type>SoupSession</type></link>