/usr/share/doc/libsignon-qt/html/identity_8cpp_source.html is in libsignon-qt-doc 8.59-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>identity.cpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('identity_8cpp_source.html','');});
</script>
<div id="doc-content">
<div class="header">
<div class="headertitle">
<div class="title">identity.cpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * This file is part of signon</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (C) 2009-2010 Nokia Corporation.</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * Copyright (C) 2011-2016 Canonical Ltd.</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> *</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * Contact: Alberto Mardegan <alberto.mardegan@canonical.com></span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> *</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * This library is free software; you can redistribute it and/or</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * modify it under the terms of the GNU Lesser General Public License</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * version 2.1 as published by the Free Software Foundation.</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> *</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * This library is distributed in the hope that it will be useful, but</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * WITHOUT ANY WARRANTY; without even the implied warranty of</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * Lesser General Public License for more details.</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> *</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * You should have received a copy of the GNU Lesser General Public</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * License along with this library; if not, write to the Free Software</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> * 02110-1301 USA</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment"> */</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include "debug.h"</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include "identityimpl.h"</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include "identity.h"</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">namespace </span><a class="code" href="namespaceSignOn.html">SignOn</a> {</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="classSignOn_1_1Identity.html#af7188aa76fe1201840b27d6c693a39e5"> 30</a></span> <a class="code" href="classSignOn_1_1Identity.html#af7188aa76fe1201840b27d6c693a39e5">Identity::Identity</a>(<span class="keyword">const</span> quint32 <span class="keywordtype">id</span>, QObject *parent):</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  QObject(parent)</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> {</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  initDebug();</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  qRegisterMetaType<Error>(<span class="stringliteral">"SignOn::Error"</span>);</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  qRegisterMetaType<Error>(<span class="stringliteral">"Error"</span>);</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> </div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="keywordflow">if</span> (qMetaTypeId<Error>() < QMetaType::User)</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  BLAME() << <span class="stringliteral">"Identity::Identity() - "</span></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="stringliteral">"SignOn::Error meta type not registered."</span>;</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  impl = <span class="keyword">new</span> IdentityImpl(<span class="keyword">this</span>, <span class="keywordtype">id</span>);</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> }</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> </div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="classSignOn_1_1Identity.html#a0b6e1a26020455461fc3328e6e1620a4"> 45</a></span> <a class="code" href="classSignOn_1_1Identity.html">Identity</a> *<a class="code" href="classSignOn_1_1Identity.html#a0b6e1a26020455461fc3328e6e1620a4">Identity::newIdentity</a>(<span class="keyword">const</span> <a class="code" href="classSignOn_1_1IdentityInfo.html">IdentityInfo</a> &<a class="code" href="classSignOn_1_1Identity.html#a81a8bbdd095e4a10c021f79e2ba01dc3">info</a>, QObject *parent)</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> {</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <a class="code" href="classSignOn_1_1Identity.html">Identity</a> *identity = <span class="keyword">new</span> <a class="code" href="classSignOn_1_1Identity.html#af7188aa76fe1201840b27d6c693a39e5">Identity</a>(SSO_NEW_IDENTITY, parent);</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  identity->impl->copyInfo(info);</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keywordflow">return</span> identity;</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> }</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="classSignOn_1_1Identity.html#ae660406b3c8ff7280c4b9e9dd16c03c4"> 52</a></span> <a class="code" href="classSignOn_1_1Identity.html">Identity</a> *<a class="code" href="classSignOn_1_1Identity.html#ae660406b3c8ff7280c4b9e9dd16c03c4">Identity::existingIdentity</a>(<span class="keyword">const</span> quint32 <span class="keywordtype">id</span>, QObject *parent)</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> {</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keywordflow">if</span> (<span class="keywordtype">id</span> == 0)</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="classSignOn_1_1Identity.html#af7188aa76fe1201840b27d6c693a39e5">Identity</a>(<span class="keywordtype">id</span>, parent);</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> }</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="classSignOn_1_1Identity.html#a9c76ba124a520e0d9bbcca71b7bf3301"> 59</a></span> <a class="code" href="classSignOn_1_1Identity.html#a9c76ba124a520e0d9bbcca71b7bf3301">Identity::~Identity</a>()</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> {</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> }</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> </div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classSignOn_1_1Identity.html#a6d56edf82107b9b1172dd1a196bc718d"> 63</a></span> quint32 <a class="code" href="classSignOn_1_1Identity.html#a6d56edf82107b9b1172dd1a196bc718d">Identity::id</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="keyword"></span>{</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keywordflow">return</span> impl->id();</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> }</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classSignOn_1_1Identity.html#af59f60ba7d26eba70d5d5033e2ec2564"> 68</a></span> <span class="keywordtype">void</span> <a class="code" href="classSignOn_1_1Identity.html#af59f60ba7d26eba70d5d5033e2ec2564">Identity::queryAvailableMethods</a>()</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> {</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  impl->queryAvailableMethods();</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> }</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> </div><div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="classSignOn_1_1Identity.html#a35cb8e017b92281340dc92b04250f061"> 73</a></span> AuthSessionP <a class="code" href="classSignOn_1_1Identity.html#a35cb8e017b92281340dc92b04250f061">Identity::createSession</a>(<span class="keyword">const</span> QString &methodName)</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> {</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keywordflow">if</span> (methodName.isEmpty())</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keywordflow">return</span> NULL;</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> </div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keywordflow">return</span> AuthSessionP(impl->createSession(methodName, <span class="keyword">this</span>));</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> }</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="classSignOn_1_1Identity.html#a040abe810be80c35f62c7676e0a6d226"> 81</a></span> <span class="keywordtype">void</span> <a class="code" href="classSignOn_1_1Identity.html#a040abe810be80c35f62c7676e0a6d226">Identity::destroySession</a>(<span class="keyword">const</span> AuthSessionP &session)</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> {</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keywordflow">if</span> (session.isNull())</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> </div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  impl->destroySession(session.data());</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span> }</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> </div><div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="classSignOn_1_1Identity.html#a2fa02287c38172e9dd3bd37c420f075c"> 89</a></span> <span class="keywordtype">void</span> <a class="code" href="classSignOn_1_1Identity.html#a2fa02287c38172e9dd3bd37c420f075c">Identity::requestCredentialsUpdate</a>(<span class="keyword">const</span> QString &message)</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> {</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  impl->requestCredentialsUpdate(message);</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span> }</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="classSignOn_1_1Identity.html#abf785c42794525855986d78fc1ab2c46"> 94</a></span> <span class="keywordtype">void</span> <a class="code" href="classSignOn_1_1Identity.html#abf785c42794525855986d78fc1ab2c46">Identity::storeCredentials</a>(<span class="keyword">const</span> <a class="code" href="classSignOn_1_1IdentityInfo.html">IdentityInfo</a> &<a class="code" href="classSignOn_1_1Identity.html#a81a8bbdd095e4a10c021f79e2ba01dc3">info</a>)</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> {</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  impl->storeCredentials(info);</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> }</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span> </div><div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="classSignOn_1_1Identity.html#aaf4ef4a522fc55e55b4fa2699e13318e"> 99</a></span> <span class="keywordtype">void</span> <a class="code" href="classSignOn_1_1Identity.html#aaf4ef4a522fc55e55b4fa2699e13318e">Identity::remove</a>()</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span> {</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  impl->remove();</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span> }</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span> </div><div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="classSignOn_1_1Identity.html#a0dd25e3e7188badc3c8a0cf601c8d1e7"> 104</a></span> <span class="keywordtype">void</span> <a class="code" href="classSignOn_1_1Identity.html#a0dd25e3e7188badc3c8a0cf601c8d1e7">Identity::addReference</a>(<span class="keyword">const</span> QString &reference)</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span> {</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  impl->addReference(reference);</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span> }</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span> </div><div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="classSignOn_1_1Identity.html#a17e93497951e4f41aceff86f8864274a"> 109</a></span> <span class="keywordtype">void</span> <a class="code" href="classSignOn_1_1Identity.html#a17e93497951e4f41aceff86f8864274a">Identity::removeReference</a>(<span class="keyword">const</span> QString &reference)</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> {</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  impl->removeReference(reference);</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span> }</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span> </div><div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="classSignOn_1_1Identity.html#a2e159ebe6748da5bcd8dd12ba85c61db"> 114</a></span> <span class="keywordtype">void</span> <a class="code" href="classSignOn_1_1Identity.html#a2e159ebe6748da5bcd8dd12ba85c61db">Identity::queryInfo</a>()</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span> {</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  impl->queryInfo();</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span> }</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span> </div><div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="classSignOn_1_1Identity.html#a453e02fc554e3c566055a99cdf68679c"> 119</a></span> <span class="keywordtype">void</span> <a class="code" href="classSignOn_1_1Identity.html#a453e02fc554e3c566055a99cdf68679c">Identity::verifyUser</a>(<span class="keyword">const</span> QString &message)</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span> {</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  impl->verifyUser(message);</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span> }</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span> </div><div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="classSignOn_1_1Identity.html#a0f7f2cf91db8487fd1f611cf58808a27"> 124</a></span> <span class="keywordtype">void</span> <a class="code" href="classSignOn_1_1Identity.html#a453e02fc554e3c566055a99cdf68679c">Identity::verifyUser</a>(<span class="keyword">const</span> QVariantMap &params)</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span> {</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  impl->verifyUser(params);</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span> }</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span> </div><div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="classSignOn_1_1Identity.html#a3e60920fb4f84c49a2e14bd20f36adf0"> 129</a></span> <span class="keywordtype">void</span> <a class="code" href="classSignOn_1_1Identity.html#a3e60920fb4f84c49a2e14bd20f36adf0">Identity::verifySecret</a>(<span class="keyword">const</span> QString &secret)</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span> {</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  impl->verifySecret(secret);</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span> }</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span> </div><div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="classSignOn_1_1Identity.html#a8d7e6670ddba4ece4aa040a05e25b0eb"> 134</a></span> <span class="keywordtype">void</span> <a class="code" href="classSignOn_1_1Identity.html#a8d7e6670ddba4ece4aa040a05e25b0eb">Identity::signOut</a>()</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span> {</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  impl->signOut();</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span> }</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span> </div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span> } <span class="comment">//namespace SignOn</span></div><div class="ttc" id="classSignOn_1_1Identity_html_a6d56edf82107b9b1172dd1a196bc718d"><div class="ttname"><a href="classSignOn_1_1Identity.html#a6d56edf82107b9b1172dd1a196bc718d">SignOn::Identity::id</a></div><div class="ttdeci">quint32 id() const</div><div class="ttdoc">Unique id of given identity. </div><div class="ttdef"><b>Definition:</b> <a href="identity_8cpp_source.html#l00063">identity.cpp:63</a></div></div>
<div class="ttc" id="classSignOn_1_1Identity_html_aaf4ef4a522fc55e55b4fa2699e13318e"><div class="ttname"><a href="classSignOn_1_1Identity.html#aaf4ef4a522fc55e55b4fa2699e13318e">SignOn::Identity::remove</a></div><div class="ttdeci">void remove()</div><div class="ttdoc">Removes this identity from database. </div><div class="ttdef"><b>Definition:</b> <a href="identity_8cpp_source.html#l00099">identity.cpp:99</a></div></div>
<div class="ttc" id="classSignOn_1_1Identity_html_af7188aa76fe1201840b27d6c693a39e5"><div class="ttname"><a href="classSignOn_1_1Identity.html#af7188aa76fe1201840b27d6c693a39e5">SignOn::Identity::Identity</a></div><div class="ttdeci">Identity(const quint32 id=SSO_NEW_IDENTITY, QObject *parent=0)</div><div class="ttdef"><b>Definition:</b> <a href="identity_8cpp_source.html#l00030">identity.cpp:30</a></div></div>
<div class="ttc" id="classSignOn_1_1Identity_html_a453e02fc554e3c566055a99cdf68679c"><div class="ttname"><a href="classSignOn_1_1Identity.html#a453e02fc554e3c566055a99cdf68679c">SignOn::Identity::verifyUser</a></div><div class="ttdeci">void verifyUser(const QString &message=QString())</div><div class="ttdoc">Gets a secret verification from the user and compares it to the stored secret. </div><div class="ttdef"><b>Definition:</b> <a href="identity_8cpp_source.html#l00119">identity.cpp:119</a></div></div>
<div class="ttc" id="classSignOn_1_1Identity_html_a9c76ba124a520e0d9bbcca71b7bf3301"><div class="ttname"><a href="classSignOn_1_1Identity.html#a9c76ba124a520e0d9bbcca71b7bf3301">SignOn::Identity::~Identity</a></div><div class="ttdeci">virtual ~Identity()</div><div class="ttdoc">Destructor. </div><div class="ttdef"><b>Definition:</b> <a href="identity_8cpp_source.html#l00059">identity.cpp:59</a></div></div>
<div class="ttc" id="classSignOn_1_1Identity_html_a040abe810be80c35f62c7676e0a6d226"><div class="ttname"><a href="classSignOn_1_1Identity.html#a040abe810be80c35f62c7676e0a6d226">SignOn::Identity::destroySession</a></div><div class="ttdeci">void destroySession(const AuthSessionP &session)</div><div class="ttdoc">Destroys an authentication session. </div><div class="ttdef"><b>Definition:</b> <a href="identity_8cpp_source.html#l00081">identity.cpp:81</a></div></div>
<div class="ttc" id="classSignOn_1_1Identity_html_a2e159ebe6748da5bcd8dd12ba85c61db"><div class="ttname"><a href="classSignOn_1_1Identity.html#a2e159ebe6748da5bcd8dd12ba85c61db">SignOn::Identity::queryInfo</a></div><div class="ttdeci">void queryInfo()</div><div class="ttdoc">Query stored credential parameters for this authentication identity. </div><div class="ttdef"><b>Definition:</b> <a href="identity_8cpp_source.html#l00114">identity.cpp:114</a></div></div>
<div class="ttc" id="classSignOn_1_1Identity_html_af59f60ba7d26eba70d5d5033e2ec2564"><div class="ttname"><a href="classSignOn_1_1Identity.html#af59f60ba7d26eba70d5d5033e2ec2564">SignOn::Identity::queryAvailableMethods</a></div><div class="ttdeci">void queryAvailableMethods()</div><div class="ttdoc">Query list of available authentication methods for given identity. </div><div class="ttdef"><b>Definition:</b> <a href="identity_8cpp_source.html#l00068">identity.cpp:68</a></div></div>
<div class="ttc" id="classSignOn_1_1Identity_html_a3e60920fb4f84c49a2e14bd20f36adf0"><div class="ttname"><a href="classSignOn_1_1Identity.html#a3e60920fb4f84c49a2e14bd20f36adf0">SignOn::Identity::verifySecret</a></div><div class="ttdeci">void verifySecret(const QString &secret)</div><div class="ttdoc">Verifies if the given secret match the stored secret. </div><div class="ttdef"><b>Definition:</b> <a href="identity_8cpp_source.html#l00129">identity.cpp:129</a></div></div>
<div class="ttc" id="classSignOn_1_1Identity_html_abf785c42794525855986d78fc1ab2c46"><div class="ttname"><a href="classSignOn_1_1Identity.html#abf785c42794525855986d78fc1ab2c46">SignOn::Identity::storeCredentials</a></div><div class="ttdeci">void storeCredentials(const IdentityInfo &info=IdentityInfo())</div><div class="ttdoc">Stores credential parameters for this authentication identity. </div><div class="ttdef"><b>Definition:</b> <a href="identity_8cpp_source.html#l00094">identity.cpp:94</a></div></div>
<div class="ttc" id="classSignOn_1_1Identity_html_a2fa02287c38172e9dd3bd37c420f075c"><div class="ttname"><a href="classSignOn_1_1Identity.html#a2fa02287c38172e9dd3bd37c420f075c">SignOn::Identity::requestCredentialsUpdate</a></div><div class="ttdeci">void requestCredentialsUpdate(const QString &message=QString())</div><div class="ttdoc">Requests the user to give a new secret into database. </div><div class="ttdef"><b>Definition:</b> <a href="identity_8cpp_source.html#l00089">identity.cpp:89</a></div></div>
<div class="ttc" id="classSignOn_1_1Identity_html_a8d7e6670ddba4ece4aa040a05e25b0eb"><div class="ttname"><a href="classSignOn_1_1Identity.html#a8d7e6670ddba4ece4aa040a05e25b0eb">SignOn::Identity::signOut</a></div><div class="ttdeci">void signOut()</div><div class="ttdoc">Signs out Identity from all services. </div><div class="ttdef"><b>Definition:</b> <a href="identity_8cpp_source.html#l00134">identity.cpp:134</a></div></div>
<div class="ttc" id="classSignOn_1_1Identity_html_a35cb8e017b92281340dc92b04250f061"><div class="ttname"><a href="classSignOn_1_1Identity.html#a35cb8e017b92281340dc92b04250f061">SignOn::Identity::createSession</a></div><div class="ttdeci">AuthSessionP createSession(const QString &methodName)</div><div class="ttdoc">Creates a new session for authentication. </div><div class="ttdef"><b>Definition:</b> <a href="identity_8cpp_source.html#l00073">identity.cpp:73</a></div></div>
<div class="ttc" id="classSignOn_1_1Identity_html_a0dd25e3e7188badc3c8a0cf601c8d1e7"><div class="ttname"><a href="classSignOn_1_1Identity.html#a0dd25e3e7188badc3c8a0cf601c8d1e7">SignOn::Identity::addReference</a></div><div class="ttdeci">void addReference(const QString &reference=QString())</div><div class="ttdoc">Adds the named reference to identity into the database. </div><div class="ttdef"><b>Definition:</b> <a href="identity_8cpp_source.html#l00104">identity.cpp:104</a></div></div>
<div class="ttc" id="classSignOn_1_1IdentityInfo_html"><div class="ttname"><a href="classSignOn_1_1IdentityInfo.html">SignOn::IdentityInfo</a></div><div class="ttdoc">Contains identity information. </div><div class="ttdef"><b>Definition:</b> <a href="identityinfo_8h_source.html#l00057">identityinfo.h:57</a></div></div>
<div class="ttc" id="classSignOn_1_1Identity_html_a17e93497951e4f41aceff86f8864274a"><div class="ttname"><a href="classSignOn_1_1Identity.html#a17e93497951e4f41aceff86f8864274a">SignOn::Identity::removeReference</a></div><div class="ttdeci">void removeReference(const QString &reference=QString())</div><div class="ttdoc">Removes a named reference to identity from the database. </div><div class="ttdef"><b>Definition:</b> <a href="identity_8cpp_source.html#l00109">identity.cpp:109</a></div></div>
<div class="ttc" id="namespaceSignOn_html"><div class="ttname"><a href="namespaceSignOn.html">SignOn</a></div><div class="ttdef"><b>Definition:</b> <a href="async-dbus-proxy_8cpp_source.html#l00041">async-dbus-proxy.cpp:41</a></div></div>
<div class="ttc" id="classSignOn_1_1Identity_html_ae660406b3c8ff7280c4b9e9dd16c03c4"><div class="ttname"><a href="classSignOn_1_1Identity.html#ae660406b3c8ff7280c4b9e9dd16c03c4">SignOn::Identity::existingIdentity</a></div><div class="ttdeci">static Identity * existingIdentity(const quint32 id, QObject *parent=0)</div><div class="ttdoc">Constructs an identity object associated with an existing identity record. </div><div class="ttdef"><b>Definition:</b> <a href="identity_8cpp_source.html#l00052">identity.cpp:52</a></div></div>
<div class="ttc" id="classSignOn_1_1Identity_html_a81a8bbdd095e4a10c021f79e2ba01dc3"><div class="ttname"><a href="classSignOn_1_1Identity.html#a81a8bbdd095e4a10c021f79e2ba01dc3">SignOn::Identity::info</a></div><div class="ttdeci">void info(const SignOn::IdentityInfo &info)</div><div class="ttdoc">Emitted when credentials passed by queryInfo() method. </div></div>
<div class="ttc" id="classSignOn_1_1Identity_html"><div class="ttname"><a href="classSignOn_1_1Identity.html">SignOn::Identity</a></div><div class="ttdoc">Represents a database entry for a single identity. </div><div class="ttdef"><b>Definition:</b> <a href="identity_8h_source.html#l00057">identity.h:57</a></div></div>
<div class="ttc" id="classSignOn_1_1Identity_html_a0b6e1a26020455461fc3328e6e1620a4"><div class="ttname"><a href="classSignOn_1_1Identity.html#a0b6e1a26020455461fc3328e6e1620a4">SignOn::Identity::newIdentity</a></div><div class="ttdeci">static Identity * newIdentity(const IdentityInfo &info=IdentityInfo(), QObject *parent=0)</div><div class="ttdoc">Constructs a new identity object. </div><div class="ttdef"><b>Definition:</b> <a href="identity_8cpp_source.html#l00045">identity.cpp:45</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><b>identity.cpp</b></li>
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.12 </li>
</ul>
</div>
</body>
</html>
|