1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>libgsignon-glib Reference Manual: SignonIdentityInfo</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7 <link rel="home" href="index.html" title="libgsignon-glib Reference Manual">
8 <link rel="up" href="credential-management.html" title="Credential management">
9 <link rel="prev" href="SignonIdentity.html" title="SignonIdentity">
10 <link rel="next" href="SignonSecurityContext.html" title="SignonSecurityContext">
11 <meta name="generator" content="GTK-Doc V1.20 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
14 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
16 <td width="100%" align="left" class="shortcuts">
17 <a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
18 <a href="#SignonIdentityInfo.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
19 <a href="#SignonIdentityInfo.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
21 <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
22 <td><a accesskey="u" href="credential-management.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
23 <td><a accesskey="p" href="SignonIdentity.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
24 <td><a accesskey="n" href="SignonSecurityContext.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
26 <div class="refentry">
27 <a name="SignonIdentityInfo"></a><div class="titlepage"></div>
28 <div class="refnamediv"><table width="100%"><tr>
30 <h2><span class="refentrytitle"><a name="SignonIdentityInfo.top_of_page"></a>SignonIdentityInfo</span></h2>
31 <p>SignonIdentityInfo — data contained in a SignonIdentity.</p>
33 <td class="gallery_image" valign="top" align="right"></td>
35 <div class="refsect1">
36 <a name="SignonIdentityInfo.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 <span class="returnvalue">void</span>
47 <td class="function_name">
48 <a class="link" href="SignonIdentityInfo.html#signon-identity-info-access-control-list-append" title="signon_identity_info_access_control_list_append ()">signon_identity_info_access_control_list_append</a> <span class="c_punctuation">()</span>
52 <td class="function_type">
53 <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="returnvalue">SignonIdentityInfo</span></a> *
55 <td class="function_name">
56 <a class="link" href="SignonIdentityInfo.html#signon-identity-info-copy" title="signon_identity_info_copy ()">signon_identity_info_copy</a> <span class="c_punctuation">()</span>
60 <td class="function_type">
61 <span class="returnvalue">void</span>
63 <td class="function_name">
64 <a class="link" href="SignonIdentityInfo.html#signon-identity-info-free" title="signon_identity_info_free ()">signon_identity_info_free</a> <span class="c_punctuation">()</span>
68 <td class="function_type">
69 <a class="link" href="SignonSecurityContext.html#SignonSecurityContextList" title="SignonSecurityContextList"><span class="returnvalue">SignonSecurityContextList</span></a> *
71 <td class="function_name">
72 <a class="link" href="SignonIdentityInfo.html#signon-identity-info-get-access-control-list" title="signon_identity_info_get_access_control_list ()">signon_identity_info_get_access_control_list</a> <span class="c_punctuation">()</span>
76 <td class="function_type">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
78 <td class="function_name">
79 <a class="link" href="SignonIdentityInfo.html#signon-identity-info-get-caption" title="signon_identity_info_get_caption ()">signon_identity_info_get_caption</a> <span class="c_punctuation">()</span>
83 <td class="function_type">
84 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
86 <td class="function_name">
87 <a class="link" href="SignonIdentityInfo.html#signon-identity-info-get-id" title="signon_identity_info_get_id ()">signon_identity_info_get_id</a> <span class="c_punctuation">()</span>
91 <td class="function_type">
92 <a class="link" href="SignonIdentityInfo.html#SignonIdentityType" title="enum SignonIdentityType"><span class="returnvalue">SignonIdentityType</span></a>
94 <td class="function_name">
95 <a class="link" href="SignonIdentityInfo.html#signon-identity-info-get-identity-type" title="signon_identity_info_get_identity_type ()">signon_identity_info_get_identity_type</a> <span class="c_punctuation">()</span>
99 <td class="function_type">
100 <a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="returnvalue">GHashTable</span></a> *
102 <td class="function_name">
103 <a class="link" href="SignonIdentityInfo.html#signon-identity-info-get-methods" title="signon_identity_info_get_methods ()">signon_identity_info_get_methods</a> <span class="c_punctuation">()</span>
107 <td class="function_type">const <a class="link" href="SignonSecurityContext.html" title="SignonSecurityContext"><span class="returnvalue">SignonSecurityContext</span></a> *
109 <td class="function_name">
110 <a class="link" href="SignonIdentityInfo.html#signon-identity-info-get-owner" title="signon_identity_info_get_owner ()">signon_identity_info_get_owner</a> <span class="c_punctuation">()</span>
114 <td class="function_type">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * const *
116 <td class="function_name">
117 <a class="link" href="SignonIdentityInfo.html#signon-identity-info-get-realms" title="signon_identity_info_get_realms ()">signon_identity_info_get_realms</a> <span class="c_punctuation">()</span>
121 <td class="function_type">
122 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
124 <td class="function_name">
125 <a class="link" href="SignonIdentityInfo.html#signon-identity-info-get-storing-secret" title="signon_identity_info_get_storing_secret ()">signon_identity_info_get_storing_secret</a> <span class="c_punctuation">()</span>
129 <td class="function_type">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
131 <td class="function_name">
132 <a class="link" href="SignonIdentityInfo.html#signon-identity-info-get-username" title="signon_identity_info_get_username ()">signon_identity_info_get_username</a> <span class="c_punctuation">()</span>
136 <td class="function_type">
137 <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="returnvalue">SignonIdentityInfo</span></a> *
139 <td class="function_name">
140 <a class="link" href="SignonIdentityInfo.html#signon-identity-info-new" title="signon_identity_info_new ()">signon_identity_info_new</a> <span class="c_punctuation">()</span>
144 <td class="function_type">
145 <span class="returnvalue">void</span>
147 <td class="function_name">
148 <a class="link" href="SignonIdentityInfo.html#signon-identity-info-own-methods" title="signon_identity_info_own_methods ()">signon_identity_info_own_methods</a> <span class="c_punctuation">()</span>
152 <td class="function_type">
153 <span class="returnvalue">void</span>
155 <td class="function_name">
156 <a class="link" href="SignonIdentityInfo.html#signon-identity-info-remove-method" title="signon_identity_info_remove_method ()">signon_identity_info_remove_method</a> <span class="c_punctuation">()</span>
160 <td class="function_type">
161 <span class="returnvalue">void</span>
163 <td class="function_name">
164 <a class="link" href="SignonIdentityInfo.html#signon-identity-info-set-access-control-list" title="signon_identity_info_set_access_control_list ()">signon_identity_info_set_access_control_list</a> <span class="c_punctuation">()</span>
168 <td class="function_type">
169 <span class="returnvalue">void</span>
171 <td class="function_name">
172 <a class="link" href="SignonIdentityInfo.html#signon-identity-info-set-caption" title="signon_identity_info_set_caption ()">signon_identity_info_set_caption</a> <span class="c_punctuation">()</span>
176 <td class="function_type">
177 <span class="returnvalue">void</span>
179 <td class="function_name">
180 <a class="link" href="SignonIdentityInfo.html#signon-identity-info-set-identity-type" title="signon_identity_info_set_identity_type ()">signon_identity_info_set_identity_type</a> <span class="c_punctuation">()</span>
184 <td class="function_type">
185 <span class="returnvalue">void</span>
187 <td class="function_name">
188 <a class="link" href="SignonIdentityInfo.html#signon-identity-info-set-method" title="signon_identity_info_set_method ()">signon_identity_info_set_method</a> <span class="c_punctuation">()</span>
192 <td class="function_type">
193 <span class="returnvalue">void</span>
195 <td class="function_name">
196 <a class="link" href="SignonIdentityInfo.html#signon-identity-info-set-methods" title="signon_identity_info_set_methods ()">signon_identity_info_set_methods</a> <span class="c_punctuation">()</span>
200 <td class="function_type">
201 <span class="returnvalue">void</span>
203 <td class="function_name">
204 <a class="link" href="SignonIdentityInfo.html#signon-identity-info-set-owner" title="signon_identity_info_set_owner ()">signon_identity_info_set_owner</a> <span class="c_punctuation">()</span>
208 <td class="function_type">
209 <span class="returnvalue">void</span>
211 <td class="function_name">
212 <a class="link" href="SignonIdentityInfo.html#signon-identity-info-set-owner-from-values" title="signon_identity_info_set_owner_from_values ()">signon_identity_info_set_owner_from_values</a> <span class="c_punctuation">()</span>
216 <td class="function_type">
217 <span class="returnvalue">void</span>
219 <td class="function_name">
220 <a class="link" href="SignonIdentityInfo.html#signon-identity-info-set-realms" title="signon_identity_info_set_realms ()">signon_identity_info_set_realms</a> <span class="c_punctuation">()</span>
224 <td class="function_type">
225 <span class="returnvalue">void</span>
227 <td class="function_name">
228 <a class="link" href="SignonIdentityInfo.html#signon-identity-info-set-secret" title="signon_identity_info_set_secret ()">signon_identity_info_set_secret</a> <span class="c_punctuation">()</span>
232 <td class="function_type">
233 <span class="returnvalue">void</span>
235 <td class="function_name">
236 <a class="link" href="SignonIdentityInfo.html#signon-identity-info-set-username" title="signon_identity_info_set_username ()">signon_identity_info_set_username</a> <span class="c_punctuation">()</span>
242 <div class="refsect1">
243 <a name="SignonIdentityInfo.other"></a><h2>Types and Values</h2>
244 <div class="informaltable"><table width="100%" border="0">
246 <col width="150px" class="name">
247 <col class="description">
251 <td class="datatype_keyword"> </td>
252 <td class="function_name"><a class="link" href="SignonIdentityInfo.html#SignonIdentityInfo-struct" title="SignonIdentityInfo">SignonIdentityInfo</a></td>
255 <td class="datatype_keyword">enum</td>
256 <td class="function_name"><a class="link" href="SignonIdentityInfo.html#SignonIdentityType" title="enum SignonIdentityType">SignonIdentityType</a></td>
261 <div class="refsect1">
262 <a name="SignonIdentityInfo.object-hierarchy"></a><h2>Object Hierarchy</h2>
263 <pre class="screen"> GBoxed
264 <span class="lineart">╰──</span> SignonIdentityInfo
267 <div class="refsect1">
268 <a name="SignonIdentityInfo.description"></a><h2>Description</h2>
269 <p><a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> represents data contained in a database record for an identity
270 and provides getters and setters for individual items.</p>
271 <p>See <a class="link" href="SignonIdentity.html" title="SignonIdentity"><span class="type">SignonIdentity</span></a> for a detailed discussion
272 of what each item means and how and when it's used.</p>
274 <div class="refsect1">
275 <a name="SignonIdentityInfo.functions_details"></a><h2>Functions</h2>
276 <div class="refsect2">
277 <a name="signon-identity-info-access-control-list-append"></a><h3>signon_identity_info_access_control_list_append ()</h3>
278 <pre class="programlisting"><span class="returnvalue">void</span>
279 signon_identity_info_access_control_list_append
280 (<em class="parameter"><code><a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>,
281 <em class="parameter"><code><a class="link" href="SignonSecurityContext.html" title="SignonSecurityContext"><span class="type">SignonSecurityContext</span></a> *security_context</code></em>);</pre>
282 <p>Appends a new <a class="link" href="SignonSecurityContext.html" title="SignonSecurityContext"><span class="type">SignonSecurityContext</span></a> item to the access control list.</p>
283 <div class="refsect3">
284 <a name="id-1.3.3.4.7.2.5"></a><h4>Parameters</h4>
285 <div class="informaltable"><table width="100%" border="0">
287 <col width="150px" class="parameters_name">
288 <col class="parameters_description">
289 <col width="200px" class="parameters_annotations">
293 <td class="parameter_name"><p>info</p></td>
294 <td class="parameter_description"><p>the <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a>.</p></td>
295 <td class="parameter_annotations"> </td>
298 <td class="parameter_name"><p>security_context</p></td>
299 <td class="parameter_description"><p> a security context to be appended. </p></td>
300 <td class="parameter_annotations"><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
307 <div class="refsect2">
308 <a name="signon-identity-info-copy"></a><h3>signon_identity_info_copy ()</h3>
309 <pre class="programlisting"><a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="returnvalue">SignonIdentityInfo</span></a> *
310 signon_identity_info_copy (<em class="parameter"><code>const <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *other</code></em>);</pre>
311 <p>Get a newly-allocated copy of <em class="parameter"><code>info</code></em>
313 <div class="refsect3">
314 <a name="id-1.3.3.4.7.3.5"></a><h4>Parameters</h4>
315 <div class="informaltable"><table width="100%" border="0">
317 <col width="150px" class="parameters_name">
318 <col class="parameters_description">
319 <col width="200px" class="parameters_annotations">
322 <td class="parameter_name"><p>other</p></td>
323 <td class="parameter_description"><p>the <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a>.</p></td>
324 <td class="parameter_annotations"> </td>
328 <div class="refsect3">
329 <a name="id-1.3.3.4.7.3.6"></a><h4>Returns</h4>
330 <p> a copy of the given <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on failure.</p>
335 <div class="refsect2">
336 <a name="signon-identity-info-free"></a><h3>signon_identity_info_free ()</h3>
337 <pre class="programlisting"><span class="returnvalue">void</span>
338 signon_identity_info_free (<em class="parameter"><code><a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>);</pre>
339 <p>Destroys the given <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> item.</p>
340 <div class="refsect3">
341 <a name="id-1.3.3.4.7.4.5"></a><h4>Parameters</h4>
342 <div class="informaltable"><table width="100%" border="0">
344 <col width="150px" class="parameters_name">
345 <col class="parameters_description">
346 <col width="200px" class="parameters_annotations">
349 <td class="parameter_name"><p>info</p></td>
350 <td class="parameter_description"><p>the <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a>.</p></td>
351 <td class="parameter_annotations"> </td>
357 <div class="refsect2">
358 <a name="signon-identity-info-get-access-control-list"></a><h3>signon_identity_info_get_access_control_list ()</h3>
359 <pre class="programlisting"><a class="link" href="SignonSecurityContext.html#SignonSecurityContextList" title="SignonSecurityContextList"><span class="returnvalue">SignonSecurityContextList</span></a> *
360 signon_identity_info_get_access_control_list
361 (<em class="parameter"><code>const <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>);</pre>
362 <p>Get an access control list associated with an identity.</p>
363 <div class="refsect3">
364 <a name="id-1.3.3.4.7.5.5"></a><h4>Parameters</h4>
365 <div class="informaltable"><table width="100%" border="0">
367 <col width="150px" class="parameters_name">
368 <col class="parameters_description">
369 <col width="200px" class="parameters_annotations">
372 <td class="parameter_name"><p>info</p></td>
373 <td class="parameter_description"><p>the <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a>.</p></td>
374 <td class="parameter_annotations"> </td>
378 <div class="refsect3">
379 <a name="id-1.3.3.4.7.5.6"></a><h4>Returns</h4>
380 <p> a list of ACL security contexts. </p>
381 <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
385 <div class="refsect2">
386 <a name="signon-identity-info-get-caption"></a><h3>signon_identity_info_get_caption ()</h3>
387 <pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
388 signon_identity_info_get_caption (<em class="parameter"><code>const <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>);</pre>
389 <p>Get the display name of <em class="parameter"><code>info</code></em>
391 <div class="refsect3">
392 <a name="id-1.3.3.4.7.6.5"></a><h4>Parameters</h4>
393 <div class="informaltable"><table width="100%" border="0">
395 <col width="150px" class="parameters_name">
396 <col class="parameters_description">
397 <col width="200px" class="parameters_annotations">
400 <td class="parameter_name"><p>info</p></td>
401 <td class="parameter_description"><p>the <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a>.</p></td>
402 <td class="parameter_annotations"> </td>
406 <div class="refsect3">
407 <a name="id-1.3.3.4.7.6.6"></a><h4>Returns</h4>
408 <p> the display name for the identity.</p>
413 <div class="refsect2">
414 <a name="signon-identity-info-get-id"></a><h3>signon_identity_info_get_id ()</h3>
415 <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
416 signon_identity_info_get_id (<em class="parameter"><code>const <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>);</pre>
417 <p>Get the numeric identity ID of <em class="parameter"><code>info</code></em>
419 <div class="refsect3">
420 <a name="id-1.3.3.4.7.7.5"></a><h4>Parameters</h4>
421 <div class="informaltable"><table width="100%" border="0">
423 <col width="150px" class="parameters_name">
424 <col class="parameters_description">
425 <col width="200px" class="parameters_annotations">
428 <td class="parameter_name"><p>info</p></td>
429 <td class="parameter_description"><p>the <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a>.</p></td>
430 <td class="parameter_annotations"> </td>
434 <div class="refsect3">
435 <a name="id-1.3.3.4.7.7.6"></a><h4>Returns</h4>
436 <p> the numeric ID of the identity.</p>
441 <div class="refsect2">
442 <a name="signon-identity-info-get-identity-type"></a><h3>signon_identity_info_get_identity_type ()</h3>
443 <pre class="programlisting"><a class="link" href="SignonIdentityInfo.html#SignonIdentityType" title="enum SignonIdentityType"><span class="returnvalue">SignonIdentityType</span></a>
444 signon_identity_info_get_identity_type
445 (<em class="parameter"><code>const <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>);</pre>
446 <p>Get the type of the identity.</p>
447 <div class="refsect3">
448 <a name="id-1.3.3.4.7.8.5"></a><h4>Parameters</h4>
449 <div class="informaltable"><table width="100%" border="0">
451 <col width="150px" class="parameters_name">
452 <col class="parameters_description">
453 <col width="200px" class="parameters_annotations">
456 <td class="parameter_name"><p>info</p></td>
457 <td class="parameter_description"><p>the <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a>.</p></td>
458 <td class="parameter_annotations"> </td>
462 <div class="refsect3">
463 <a name="id-1.3.3.4.7.8.6"></a><h4>Returns</h4>
464 <p> the type of the identity.</p>
469 <div class="refsect2">
470 <a name="signon-identity-info-get-methods"></a><h3>signon_identity_info_get_methods ()</h3>
471 <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="returnvalue">GHashTable</span></a> *
472 signon_identity_info_get_methods (<em class="parameter"><code>const <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>);</pre>
473 <p>Get a hash table of the methods and mechanisms of <em class="parameter"><code>info</code></em>
475 <a class="link" href="SignonIdentityInfo.html#signon-identity-info-set-methods" title="signon_identity_info_set_methods ()"><code class="function">signon_identity_info_set_methods()</code></a>.</p>
476 <div class="refsect3">
477 <a name="id-1.3.3.4.7.9.5"></a><h4>Parameters</h4>
478 <div class="informaltable"><table width="100%" border="0">
480 <col width="150px" class="parameters_name">
481 <col class="parameters_description">
482 <col width="200px" class="parameters_annotations">
485 <td class="parameter_name"><p>info</p></td>
486 <td class="parameter_description"><p>the <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a>.</p></td>
487 <td class="parameter_annotations"> </td>
491 <div class="refsect3">
492 <a name="id-1.3.3.4.7.9.6"></a><h4>Returns</h4>
493 <p> (element-type utf8 GStrv): the table of allowed
494 methods and mechanisms. </p>
495 <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
499 <div class="refsect2">
500 <a name="signon-identity-info-get-owner"></a><h3>signon_identity_info_get_owner ()</h3>
501 <pre class="programlisting">const <a class="link" href="SignonSecurityContext.html" title="SignonSecurityContext"><span class="returnvalue">SignonSecurityContext</span></a> *
502 signon_identity_info_get_owner (<em class="parameter"><code>const <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>);</pre>
503 <p>Get identity owner's security context.</p>
504 <div class="refsect3">
505 <a name="id-1.3.3.4.7.10.5"></a><h4>Parameters</h4>
506 <div class="informaltable"><table width="100%" border="0">
508 <col width="150px" class="parameters_name">
509 <col class="parameters_description">
510 <col width="200px" class="parameters_annotations">
513 <td class="parameter_name"><p>info</p></td>
514 <td class="parameter_description"><p>the <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a>.</p></td>
515 <td class="parameter_annotations"> </td>
519 <div class="refsect3">
520 <a name="id-1.3.3.4.7.10.6"></a><h4>Returns</h4>
521 <p> a security context. </p>
522 <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
526 <div class="refsect2">
527 <a name="signon-identity-info-get-realms"></a><h3>signon_identity_info_get_realms ()</h3>
528 <pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * const *
529 signon_identity_info_get_realms (<em class="parameter"><code>const <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>);</pre>
530 <p>Get an array of the allowed realms of <em class="parameter"><code>info</code></em>
532 <div class="refsect3">
533 <a name="id-1.3.3.4.7.11.5"></a><h4>Parameters</h4>
534 <div class="informaltable"><table width="100%" border="0">
536 <col width="150px" class="parameters_name">
537 <col class="parameters_description">
538 <col width="200px" class="parameters_annotations">
541 <td class="parameter_name"><p>info</p></td>
542 <td class="parameter_description"><p>the <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a>.</p></td>
543 <td class="parameter_annotations"> </td>
547 <div class="refsect3">
548 <a name="id-1.3.3.4.7.11.6"></a><h4>Returns</h4>
549 <p> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> terminated array of realms. </p>
550 <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
554 <div class="refsect2">
555 <a name="signon-identity-info-get-storing-secret"></a><h3>signon_identity_info_get_storing_secret ()</h3>
556 <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
557 signon_identity_info_get_storing_secret
558 (<em class="parameter"><code>const <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>);</pre>
559 <p>Get whether the secret of <em class="parameter"><code>info</code></em>
560 should be stored by gSSO in the secret database.</p>
561 <div class="refsect3">
562 <a name="id-1.3.3.4.7.12.5"></a><h4>Parameters</h4>
563 <div class="informaltable"><table width="100%" border="0">
565 <col width="150px" class="parameters_name">
566 <col class="parameters_description">
567 <col width="200px" class="parameters_annotations">
570 <td class="parameter_name"><p>info</p></td>
571 <td class="parameter_description"><p>the <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a>.</p></td>
572 <td class="parameter_annotations"> </td>
576 <div class="refsect3">
577 <a name="id-1.3.3.4.7.12.6"></a><h4>Returns</h4>
578 <p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if gSSO must store the secret, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
583 <div class="refsect2">
584 <a name="signon-identity-info-get-username"></a><h3>signon_identity_info_get_username ()</h3>
585 <pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
586 signon_identity_info_get_username (<em class="parameter"><code>const <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>);</pre>
587 <p>Get the username associated with an identity.</p>
588 <div class="refsect3">
589 <a name="id-1.3.3.4.7.13.5"></a><h4>Parameters</h4>
590 <div class="informaltable"><table width="100%" border="0">
592 <col width="150px" class="parameters_name">
593 <col class="parameters_description">
594 <col width="200px" class="parameters_annotations">
597 <td class="parameter_name"><p>info</p></td>
598 <td class="parameter_description"><p>the <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a>.</p></td>
599 <td class="parameter_annotations"> </td>
603 <div class="refsect3">
604 <a name="id-1.3.3.4.7.13.6"></a><h4>Returns</h4>
605 <p> the username, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
610 <div class="refsect2">
611 <a name="signon-identity-info-new"></a><h3>signon_identity_info_new ()</h3>
612 <pre class="programlisting"><a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="returnvalue">SignonIdentityInfo</span></a> *
613 signon_identity_info_new ();</pre>
614 <p>Creates a new <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> item.</p>
615 <div class="refsect3">
616 <a name="id-1.3.3.4.7.14.5"></a><h4>Returns</h4>
617 <p> a new <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> item.</p>
622 <div class="refsect2">
623 <a name="signon-identity-info-own-methods"></a><h3>signon_identity_info_own_methods ()</h3>
624 <pre class="programlisting"><span class="returnvalue">void</span>
625 signon_identity_info_own_methods (<em class="parameter"><code><a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>,
626 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *methods</code></em>);</pre>
627 <p>Set authentication methods that are allowed to be used with this identity.</p>
628 <p>This function will just increment reference count of hash table, so
629 it should be constructed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#g-hash-table-new-full"><span class="type">g_hash_table_new_full</span></a>.</p>
630 <div class="refsect3">
631 <a name="id-1.3.3.4.7.15.6"></a><h4>Parameters</h4>
632 <div class="informaltable"><table width="100%" border="0">
634 <col width="150px" class="parameters_name">
635 <col class="parameters_description">
636 <col width="200px" class="parameters_annotations">
640 <td class="parameter_name"><p>info</p></td>
641 <td class="parameter_description"><p>the <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a>.</p></td>
642 <td class="parameter_annotations"> </td>
645 <td class="parameter_name"><p>methods</p></td>
646 <td class="parameter_description"><p> (element-type utf8 GStrv): methods. </p></td>
647 <td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
654 <div class="refsect2">
655 <a name="signon-identity-info-remove-method"></a><h3>signon_identity_info_remove_method ()</h3>
656 <pre class="programlisting"><span class="returnvalue">void</span>
657 signon_identity_info_remove_method (<em class="parameter"><code><a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>,
658 <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> *method</code></em>);</pre>
659 <p>Remove <em class="parameter"><code>method</code></em>
660 from the list of allowed authentication methods.</p>
661 <div class="refsect3">
662 <a name="id-1.3.3.4.7.16.5"></a><h4>Parameters</h4>
663 <div class="informaltable"><table width="100%" border="0">
665 <col width="150px" class="parameters_name">
666 <col class="parameters_description">
667 <col width="200px" class="parameters_annotations">
671 <td class="parameter_name"><p>info</p></td>
672 <td class="parameter_description"><p>the <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a>.</p></td>
673 <td class="parameter_annotations"> </td>
676 <td class="parameter_name"><p>method</p></td>
677 <td class="parameter_description"><p>an authentication method.</p></td>
678 <td class="parameter_annotations"> </td>
685 <div class="refsect2">
686 <a name="signon-identity-info-set-access-control-list"></a><h3>signon_identity_info_set_access_control_list ()</h3>
687 <pre class="programlisting"><span class="returnvalue">void</span>
688 signon_identity_info_set_access_control_list
689 (<em class="parameter"><code><a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>,
690 <em class="parameter"><code><a class="link" href="SignonSecurityContext.html#SignonSecurityContextList" title="SignonSecurityContextList"><span class="type">SignonSecurityContextList</span></a> *access_control_list</code></em>);</pre>
691 <p>Set an access control list associated with an identity.</p>
692 <div class="refsect3">
693 <a name="id-1.3.3.4.7.17.5"></a><h4>Parameters</h4>
694 <div class="informaltable"><table width="100%" border="0">
696 <col width="150px" class="parameters_name">
697 <col class="parameters_description">
698 <col width="200px" class="parameters_annotations">
702 <td class="parameter_name"><p>info</p></td>
703 <td class="parameter_description"><p>the <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a>.</p></td>
704 <td class="parameter_annotations"> </td>
707 <td class="parameter_name"><p>access_control_list</p></td>
708 <td class="parameter_description"><p> a list of ACL security contexts. </p></td>
709 <td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
716 <div class="refsect2">
717 <a name="signon-identity-info-set-caption"></a><h3>signon_identity_info_set_caption ()</h3>
718 <pre class="programlisting"><span class="returnvalue">void</span>
719 signon_identity_info_set_caption (<em class="parameter"><code><a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>,
720 <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> *caption</code></em>);</pre>
721 <p>Sets the caption (display name) for the identity.</p>
722 <div class="refsect3">
723 <a name="id-1.3.3.4.7.18.5"></a><h4>Parameters</h4>
724 <div class="informaltable"><table width="100%" border="0">
726 <col width="150px" class="parameters_name">
727 <col class="parameters_description">
728 <col width="200px" class="parameters_annotations">
732 <td class="parameter_name"><p>info</p></td>
733 <td class="parameter_description"><p>the <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a>.</p></td>
734 <td class="parameter_annotations"> </td>
737 <td class="parameter_name"><p>caption</p></td>
738 <td class="parameter_description"><p>the caption.</p></td>
739 <td class="parameter_annotations"> </td>
746 <div class="refsect2">
747 <a name="signon-identity-info-set-identity-type"></a><h3>signon_identity_info_set_identity_type ()</h3>
748 <pre class="programlisting"><span class="returnvalue">void</span>
749 signon_identity_info_set_identity_type
750 (<em class="parameter"><code><a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>,
751 <em class="parameter"><code><a class="link" href="SignonIdentityInfo.html#SignonIdentityType" title="enum SignonIdentityType"><span class="type">SignonIdentityType</span></a> type</code></em>);</pre>
752 <p>Specifies the type of this identity.</p>
753 <div class="refsect3">
754 <a name="id-1.3.3.4.7.19.5"></a><h4>Parameters</h4>
755 <div class="informaltable"><table width="100%" border="0">
757 <col width="150px" class="parameters_name">
758 <col class="parameters_description">
759 <col width="200px" class="parameters_annotations">
763 <td class="parameter_name"><p>info</p></td>
764 <td class="parameter_description"><p>the <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a>.</p></td>
765 <td class="parameter_annotations"> </td>
768 <td class="parameter_name"><p>type</p></td>
769 <td class="parameter_description"><p>the type of the identity.</p></td>
770 <td class="parameter_annotations"> </td>
777 <div class="refsect2">
778 <a name="signon-identity-info-set-method"></a><h3>signon_identity_info_set_method ()</h3>
779 <pre class="programlisting"><span class="returnvalue">void</span>
780 signon_identity_info_set_method (<em class="parameter"><code><a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>,
781 <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> *method</code></em>,
782 <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> * const *mechanisms</code></em>);</pre>
783 <p>Adds a method to the list of allowed authentication methods.</p>
784 <div class="refsect3">
785 <a name="id-1.3.3.4.7.20.5"></a><h4>Parameters</h4>
786 <div class="informaltable"><table width="100%" border="0">
788 <col width="150px" class="parameters_name">
789 <col class="parameters_description">
790 <col width="200px" class="parameters_annotations">
794 <td class="parameter_name"><p>info</p></td>
795 <td class="parameter_description"><p>the <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a>.</p></td>
796 <td class="parameter_annotations"> </td>
799 <td class="parameter_name"><p>method</p></td>
800 <td class="parameter_description"><p>an authentication method.</p></td>
801 <td class="parameter_annotations"> </td>
804 <td class="parameter_name"><p>mechanisms</p></td>
805 <td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated list of mechanisms.</p></td>
806 <td class="parameter_annotations"> </td>
813 <div class="refsect2">
814 <a name="signon-identity-info-set-methods"></a><h3>signon_identity_info_set_methods ()</h3>
815 <pre class="programlisting"><span class="returnvalue">void</span>
816 signon_identity_info_set_methods (<em class="parameter"><code><a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>,
817 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *methods</code></em>);</pre>
818 <p>Set authentication methods that are allowed to be used with this identity.</p>
819 <div class="refsect3">
820 <a name="id-1.3.3.4.7.21.5"></a><h4>Parameters</h4>
821 <div class="informaltable"><table width="100%" border="0">
823 <col width="150px" class="parameters_name">
824 <col class="parameters_description">
825 <col width="200px" class="parameters_annotations">
829 <td class="parameter_name"><p>info</p></td>
830 <td class="parameter_description"><p>the <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a>.</p></td>
831 <td class="parameter_annotations"> </td>
834 <td class="parameter_name"><p>methods</p></td>
835 <td class="parameter_description"><p> (element-type utf8 GStrv): methods. </p></td>
836 <td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
843 <div class="refsect2">
844 <a name="signon-identity-info-set-owner"></a><h3>signon_identity_info_set_owner ()</h3>
845 <pre class="programlisting"><span class="returnvalue">void</span>
846 signon_identity_info_set_owner (<em class="parameter"><code><a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>,
847 <em class="parameter"><code>const <a class="link" href="SignonSecurityContext.html" title="SignonSecurityContext"><span class="type">SignonSecurityContext</span></a> *owner</code></em>);</pre>
848 <p>Set identity owner's security context.</p>
849 <div class="refsect3">
850 <a name="id-1.3.3.4.7.22.5"></a><h4>Parameters</h4>
851 <div class="informaltable"><table width="100%" border="0">
853 <col width="150px" class="parameters_name">
854 <col class="parameters_description">
855 <col width="200px" class="parameters_annotations">
859 <td class="parameter_name"><p>info</p></td>
860 <td class="parameter_description"><p>the <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a>.</p></td>
861 <td class="parameter_annotations"> </td>
864 <td class="parameter_name"><p>owner</p></td>
865 <td class="parameter_description"><p> a security context of owner. </p></td>
866 <td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
873 <div class="refsect2">
874 <a name="signon-identity-info-set-owner-from-values"></a><h3>signon_identity_info_set_owner_from_values ()</h3>
875 <pre class="programlisting"><span class="returnvalue">void</span>
876 signon_identity_info_set_owner_from_values
877 (<em class="parameter"><code><a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>,
878 <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> *system_context</code></em>,
879 <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> *application_context</code></em>);</pre>
880 <p>Set identity owner's security context.</p>
881 <div class="refsect3">
882 <a name="id-1.3.3.4.7.23.5"></a><h4>Parameters</h4>
883 <div class="informaltable"><table width="100%" border="0">
885 <col width="150px" class="parameters_name">
886 <col class="parameters_description">
887 <col width="200px" class="parameters_annotations">
891 <td class="parameter_name"><p>info</p></td>
892 <td class="parameter_description"><p>the <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a>.</p></td>
893 <td class="parameter_annotations"> </td>
896 <td class="parameter_name"><p>system_context</p></td>
897 <td class="parameter_description"><p>owner's system context.</p></td>
898 <td class="parameter_annotations"> </td>
901 <td class="parameter_name"><p>application_context</p></td>
902 <td class="parameter_description"><p>owner's application context.</p></td>
903 <td class="parameter_annotations"> </td>
910 <div class="refsect2">
911 <a name="signon-identity-info-set-realms"></a><h3>signon_identity_info_set_realms ()</h3>
912 <pre class="programlisting"><span class="returnvalue">void</span>
913 signon_identity_info_set_realms (<em class="parameter"><code><a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>,
914 <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> * const *realms</code></em>);</pre>
915 <p>Specify what realms this identity can be used in.</p>
916 <div class="refsect3">
917 <a name="id-1.3.3.4.7.24.5"></a><h4>Parameters</h4>
918 <div class="informaltable"><table width="100%" border="0">
920 <col width="150px" class="parameters_name">
921 <col class="parameters_description">
922 <col width="200px" class="parameters_annotations">
926 <td class="parameter_name"><p>info</p></td>
927 <td class="parameter_description"><p>the <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a>.</p></td>
928 <td class="parameter_annotations"> </td>
931 <td class="parameter_name"><p>realms</p></td>
932 <td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated list of realms.</p></td>
933 <td class="parameter_annotations"> </td>
940 <div class="refsect2">
941 <a name="signon-identity-info-set-secret"></a><h3>signon_identity_info_set_secret ()</h3>
942 <pre class="programlisting"><span class="returnvalue">void</span>
943 signon_identity_info_set_secret (<em class="parameter"><code><a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>,
944 <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> *secret</code></em>,
945 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> store_secret</code></em>);</pre>
946 <p>Sets the secret (password) for the identity, and whether the gSSO daemon
947 should remember it.</p>
948 <div class="refsect3">
949 <a name="id-1.3.3.4.7.25.5"></a><h4>Parameters</h4>
950 <div class="informaltable"><table width="100%" border="0">
952 <col width="150px" class="parameters_name">
953 <col class="parameters_description">
954 <col width="200px" class="parameters_annotations">
958 <td class="parameter_name"><p>info</p></td>
959 <td class="parameter_description"><p>the <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a>.</p></td>
960 <td class="parameter_annotations"> </td>
963 <td class="parameter_name"><p>secret</p></td>
964 <td class="parameter_description"><p>the secret.</p></td>
965 <td class="parameter_annotations"> </td>
968 <td class="parameter_name"><p>store_secret</p></td>
969 <td class="parameter_description"><p>whether signond should store the secret in its DB.</p></td>
970 <td class="parameter_annotations"> </td>
977 <div class="refsect2">
978 <a name="signon-identity-info-set-username"></a><h3>signon_identity_info_set_username ()</h3>
979 <pre class="programlisting"><span class="returnvalue">void</span>
980 signon_identity_info_set_username (<em class="parameter"><code><a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a> *info</code></em>,
981 <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> *username</code></em>);</pre>
982 <p>Sets the username for the identity.</p>
983 <div class="refsect3">
984 <a name="id-1.3.3.4.7.26.5"></a><h4>Parameters</h4>
985 <div class="informaltable"><table width="100%" border="0">
987 <col width="150px" class="parameters_name">
988 <col class="parameters_description">
989 <col width="200px" class="parameters_annotations">
993 <td class="parameter_name"><p>info</p></td>
994 <td class="parameter_description"><p>the <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a>.</p></td>
995 <td class="parameter_annotations"> </td>
998 <td class="parameter_name"><p>username</p></td>
999 <td class="parameter_description"><p>the username.</p></td>
1000 <td class="parameter_annotations"> </td>
1007 <div class="refsect1">
1008 <a name="SignonIdentityInfo.other_details"></a><h2>Types and Values</h2>
1009 <div class="refsect2">
1010 <a name="SignonIdentityInfo-struct"></a><h3>SignonIdentityInfo</h3>
1011 <pre class="programlisting">typedef struct _SignonIdentityInfo SignonIdentityInfo;</pre>
1012 <p>Opaque struct. Use the accessor functions below.</p>
1015 <div class="refsect2">
1016 <a name="SignonIdentityType"></a><h3>enum SignonIdentityType</h3>
1017 <p>Identity types used in <a class="link" href="SignonIdentityInfo.html" title="SignonIdentityInfo"><span class="type">SignonIdentityInfo</span></a>.</p>
1018 <div class="refsect3">
1019 <a name="id-1.3.3.4.8.3.4"></a><h4>Members</h4>
1020 <div class="informaltable"><table width="100%" border="0">
1022 <col width="300px" class="enum_members_name">
1023 <col class="enum_members_description">
1024 <col width="200px" class="enum_members_annotations">
1028 <td class="enum_member_name"><p><a name="SIGNON-IDENTITY-TYPE-OTHER:CAPS"></a>SIGNON_IDENTITY_TYPE_OTHER</p></td>
1029 <td class="enum_member_description">
1030 <p>an identity that is not an app, web or network</p>
1032 <td class="enum_member_annotations"> </td>
1035 <td class="enum_member_name"><p><a name="SIGNON-IDENTITY-TYPE-APP:CAPS"></a>SIGNON_IDENTITY_TYPE_APP</p></td>
1036 <td class="enum_member_description">
1037 <p>an application identity</p>
1039 <td class="enum_member_annotations"> </td>
1042 <td class="enum_member_name"><p><a name="SIGNON-IDENTITY-TYPE-WEB:CAPS"></a>SIGNON_IDENTITY_TYPE_WEB</p></td>
1043 <td class="enum_member_description">
1044 <p>a web identity</p>
1046 <td class="enum_member_annotations"> </td>
1049 <td class="enum_member_name"><p><a name="SIGNON-IDENTITY-TYPE-NETWORK:CAPS"></a>SIGNON_IDENTITY_TYPE_NETWORK</p></td>
1050 <td class="enum_member_description">
1051 <p>a network server identity</p>
1053 <td class="enum_member_annotations"> </td>
1061 <div class="footer">
1063 Generated by GTK-Doc V1.20</div>