cd135a50d523f6cd2082777b0b7b1d50bb59615a
[profile/ivi/gsignond.git] / docs / html / GSignondPasswordPlugin.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>GSignondPasswordPlugin</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7 <link rel="home" href="index.html" title="gsignond API Reference Manual">
8 <link rel="up" href="ch04.html" title="Standard in-tree authentication plugins">
9 <link rel="prev" href="GSignondSsoTestPlugin.html" title="GSignondSsoTestPlugin">
10 <link rel="next" href="ch05.html" title="GSignond API for writing platform adaptation extensions">
11 <meta name="generator" content="GTK-Doc V1.19.1 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
13 </head>
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">
17 <a href="#" class="shortcut">Top</a>
18                    | 
19                   <a href="#GSignondPasswordPlugin.description" class="shortcut">Description</a>
20                    | 
21                   <a href="#GSignondPasswordPlugin.object-hierarchy" class="shortcut">Object Hierarchy</a>
22                    | 
23                   <a href="#GSignondPasswordPlugin.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
24 </td>
25 <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
26 <td><a accesskey="u" href="ch04.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
27 <td><a accesskey="p" href="GSignondSsoTestPlugin.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
28 <td><a accesskey="n" href="ch05.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
29 </tr></table>
30 <div class="refentry">
31 <a name="GSignondPasswordPlugin"></a><div class="titlepage"></div>
32 <div class="refnamediv"><table width="100%"><tr>
33 <td valign="top">
34 <h2><span class="refentrytitle"><a name="GSignondPasswordPlugin.top_of_page"></a>GSignondPasswordPlugin</span></h2>
35 <p>GSignondPasswordPlugin — a plugin for retrieving the username/password</p>
36 </td>
37 <td valign="top" align="right"></td>
38 </tr></table></div>
39 <div class="refsynopsisdiv">
40 <a name="GSignondPasswordPlugin.synopsis"></a><h2>Synopsis</h2>
41 <pre class="synopsis">
42 #include &lt;gsignond/gsignond-password-plugin.h&gt;
43
44 struct              <a class="link" href="GSignondPasswordPlugin.html#GSignondPasswordPlugin-struct" title="struct GSignondPasswordPlugin">GSignondPasswordPlugin</a>;
45 struct              <a class="link" href="GSignondPasswordPlugin.html#GSignondPasswordPluginClass" title="struct GSignondPasswordPluginClass">GSignondPasswordPluginClass</a>;
46 </pre>
47 </div>
48 <div class="refsect1">
49 <a name="GSignondPasswordPlugin.object-hierarchy"></a><h2>Object Hierarchy</h2>
50 <pre class="synopsis">
51   <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
52    +----GSignondPasswordPlugin
53 </pre>
54 </div>
55 <div class="refsect1">
56 <a name="GSignondPasswordPlugin.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
57 <p>
58 GSignondPasswordPlugin implements
59  GSignondPlugin.</p>
60 </div>
61 <div class="refsect1">
62 <a name="GSignondPasswordPlugin.description"></a><h2>Description</h2>
63 <p>
64 <a class="link" href="GSignondPasswordPlugin.html" title="GSignondPasswordPlugin"><span class="type">GSignondPasswordPlugin</span></a> is used in login/password based authentication protocols.
65 It returns to the applications the username and password associated with an
66 identity. The plugin first checks if the daemon has placed them in
67 <a class="link" href="gsignond-GSignondPlugin.html#gsignond-plugin-request-initial" title="gsignond_plugin_request_initial ()"><code class="function">gsignond_plugin_request_initial()</code></a> <em class="parameter"><code>session_data</code></em> parameter
68 (that means they're already stored in gSSO secure database), and if not,
69 the user is asked for the username and password via gSSO UI.
70 </p>
71 <p>
72 The plugin returns the username and password via <span class="type">"response-final"</span>
73 if it was able to obtain them, and issues <span class="type">"error"</span> otherwise.
74 </p>
75 <p>
76 <span class="type">"type"</span> property is set to "password", and <span class="type">"mechanisms"</span> 
77 property contains a single entry "password".
78 </p>
79 </div>
80 <div class="refsect1">
81 <a name="GSignondPasswordPlugin.details"></a><h2>Details</h2>
82 <div class="refsect2">
83 <a name="GSignondPasswordPlugin-struct"></a><h3>struct GSignondPasswordPlugin</h3>
84 <pre class="programlisting">struct GSignondPasswordPlugin;</pre>
85 <p>
86 Opaque <a class="link" href="GSignondPasswordPlugin.html" title="GSignondPasswordPlugin"><span class="type">GSignondPasswordPlugin</span></a> data structure.
87 </p>
88 </div>
89 <hr>
90 <div class="refsect2">
91 <a name="GSignondPasswordPluginClass"></a><h3>struct GSignondPasswordPluginClass</h3>
92 <pre class="programlisting">struct GSignondPasswordPluginClass {
93     GObjectClass parent_class;
94 };
95 </pre>
96 <p>
97 Opaque <a class="link" href="GSignondPasswordPlugin.html#GSignondPasswordPluginClass" title="struct GSignondPasswordPluginClass"><span class="type">GSignondPasswordPluginClass</span></a> data structure.
98 </p>
99 <div class="variablelist"><table border="0">
100 <col align="left" valign="top">
101 <tbody><tr>
102 <td><p><span class="term"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> <em class="structfield"><code><a name="GSignondPasswordPluginClass.parent-class"></a>parent_class</code></em>;</span></p></td>
103 <td>the parent class structure</td>
104 </tr></tbody>
105 </table></div>
106 </div>
107 </div>
108 </div>
109 <div class="footer">
110 <hr>
111           Generated by GTK-Doc V1.19.1</div>
112 </body>
113 </html>