/usr/share/doc/libsignon-qt/html/classSignOn_1_1Identity.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 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 | <!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>SignOn::Identity Class Reference</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('classSignOn_1_1Identity.html','');});
</script>
<div id="doc-content">
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> |
<a href="#signals">Signals</a> |
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-methods">Static Public Member Functions</a> |
<a href="#pro-methods">Protected Member Functions</a> |
<a href="classSignOn_1_1Identity-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">SignOn::Identity Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Represents a database entry for a single identity.
<a href="classSignOn_1_1Identity.html#details">More...</a></p>
<p><code>#include <<a class="el" href="identity_8h_source.html">SignOn/Identity</a>></code></p>
<div class="dynheader">
Inheritance diagram for SignOn::Identity:</div>
<div class="dyncontent">
<div class="center"><img src="classSignOn_1_1Identity__inherit__graph.png" border="0" usemap="#SignOn_1_1Identity_inherit__map" alt="Inheritance graph"/></div>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a4843775ea5506e6347d45913da575b41"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignOn_1_1Identity.html#a4843775ea5506e6347d45913da575b41">IdentityError</a> { <br />
  <a class="el" href="classSignOn_1_1Identity.html#a4843775ea5506e6347d45913da575b41a5f812add63c81f95c6072e7b77c05747">UnknownError</a> = 1,
<a class="el" href="classSignOn_1_1Identity.html#a4843775ea5506e6347d45913da575b41a7b47dc8132c1fc0b6b17b166919fd9bf">InternalServerError</a> = 2,
<a class="el" href="classSignOn_1_1Identity.html#a4843775ea5506e6347d45913da575b41a3ebe91116cbf21adefb4369a9aa9d538">InternalCommunicationError</a> = 3,
<a class="el" href="classSignOn_1_1Identity.html#a4843775ea5506e6347d45913da575b41a792e12ed8086438d1a465454dc38f426">PermissionDeniedError</a> = 4,
<br />
  <b>IdentityErr</b> = 200,
<a class="el" href="classSignOn_1_1Identity.html#a4843775ea5506e6347d45913da575b41aa42c1ab1131a1309a70d4ef6701bdf2c">MethodNotAvailableError</a>,
<a class="el" href="classSignOn_1_1Identity.html#a4843775ea5506e6347d45913da575b41a9a784801d6bd8d54e8e32ca0c9cc0f20">NotFoundError</a>,
<a class="el" href="classSignOn_1_1Identity.html#a4843775ea5506e6347d45913da575b41ab2aea5bbdcf470643cd18f4767fa904a">StoreFailedError</a>,
<br />
  <a class="el" href="classSignOn_1_1Identity.html#a4843775ea5506e6347d45913da575b41ae595910e24ed19f8aa43237504d6a4e2">RemoveFailedError</a>,
<a class="el" href="classSignOn_1_1Identity.html#a4843775ea5506e6347d45913da575b41a0ac56b96cb1885a3a9f5a1086be60156">SignOutFailedError</a>,
<a class="el" href="classSignOn_1_1Identity.html#a4843775ea5506e6347d45913da575b41a50041d88aca694201fa78cfe17d48202">CanceledError</a>,
<a class="el" href="classSignOn_1_1Identity.html#a4843775ea5506e6347d45913da575b41aef84d88404175a48a33553d6861f58a3">CredentialsNotAvailableError</a>
<br />
}<tr class="memdesc:a4843775ea5506e6347d45913da575b41"><td class="mdescLeft"> </td><td class="mdescRight">Codes for errors that may be reported by <a class="el" href="classSignOn_1_1Identity.html" title="Represents a database entry for a single identity. ">Identity</a> objects. <a href="classSignOn_1_1Identity.html#a4843775ea5506e6347d45913da575b41">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a4843775ea5506e6347d45913da575b41"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a>
Signals</h2></td></tr>
<tr class="memitem:a0ff5ec807c8e774abb1b01e93f210cb7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignOn_1_1Identity.html#a0ff5ec807c8e774abb1b01e93f210cb7">error</a> (const <a class="el" href="classSignOn_1_1Error.html">SignOn::Error</a> &err)</td></tr>
<tr class="memdesc:a0ff5ec807c8e774abb1b01e93f210cb7"><td class="mdescLeft"> </td><td class="mdescRight">Emitted when an error occurs while performing an operation. <a href="#a0ff5ec807c8e774abb1b01e93f210cb7">More...</a><br /></td></tr>
<tr class="separator:a0ff5ec807c8e774abb1b01e93f210cb7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8910a53c44e4d43c394d58b2d4f3f45c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignOn_1_1Identity.html#a8910a53c44e4d43c394d58b2d4f3f45c">methodsAvailable</a> (const QStringList &methods)</td></tr>
<tr class="memdesc:a8910a53c44e4d43c394d58b2d4f3f45c"><td class="mdescLeft"> </td><td class="mdescRight">Emitted when the list of available mechanisms has been obtained for identity. <a href="#a8910a53c44e4d43c394d58b2d4f3f45c">More...</a><br /></td></tr>
<tr class="separator:a8910a53c44e4d43c394d58b2d4f3f45c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a93e4eaddcd369798dbe30ef653f70220"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignOn_1_1Identity.html#a93e4eaddcd369798dbe30ef653f70220">credentialsStored</a> (const quint32 <a class="el" href="classSignOn_1_1Identity.html#a6d56edf82107b9b1172dd1a196bc718d">id</a>)</td></tr>
<tr class="memdesc:a93e4eaddcd369798dbe30ef653f70220"><td class="mdescLeft"> </td><td class="mdescRight">Emitted when credentials passed by <a class="el" href="classSignOn_1_1Identity.html#abf785c42794525855986d78fc1ab2c46" title="Stores credential parameters for this authentication identity. ">storeCredentials()</a> method have been successfully stored on the service. <a href="#a93e4eaddcd369798dbe30ef653f70220">More...</a><br /></td></tr>
<tr class="separator:a93e4eaddcd369798dbe30ef653f70220"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a549b30b1c9e9d86e7af4770f99ce727b"><td class="memItemLeft" align="right" valign="top"><a id="a549b30b1c9e9d86e7af4770f99ce727b"></a>
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignOn_1_1Identity.html#a549b30b1c9e9d86e7af4770f99ce727b">referenceAdded</a> ()</td></tr>
<tr class="memdesc:a549b30b1c9e9d86e7af4770f99ce727b"><td class="mdescLeft"> </td><td class="mdescRight">Emitted when references are added by <a class="el" href="classSignOn_1_1Identity.html#a0dd25e3e7188badc3c8a0cf601c8d1e7" title="Adds the named reference to identity into the database. ">addReference()</a> method and change has been successfully stored on the service. <br /></td></tr>
<tr class="separator:a549b30b1c9e9d86e7af4770f99ce727b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a91ce26193f116f6f200609aa381c6e5a"><td class="memItemLeft" align="right" valign="top"><a id="a91ce26193f116f6f200609aa381c6e5a"></a>
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignOn_1_1Identity.html#a91ce26193f116f6f200609aa381c6e5a">referenceRemoved</a> ()</td></tr>
<tr class="memdesc:a91ce26193f116f6f200609aa381c6e5a"><td class="mdescLeft"> </td><td class="mdescRight">Emitted when references are removed by <a class="el" href="classSignOn_1_1Identity.html#a17e93497951e4f41aceff86f8864274a" title="Removes a named reference to identity from the database. ">removeReference()</a> method and change has been successfully stored on the service. <br /></td></tr>
<tr class="separator:a91ce26193f116f6f200609aa381c6e5a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a81a8bbdd095e4a10c021f79e2ba01dc3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignOn_1_1Identity.html#a81a8bbdd095e4a10c021f79e2ba01dc3">info</a> (const <a class="el" href="classSignOn_1_1IdentityInfo.html">SignOn::IdentityInfo</a> &info)</td></tr>
<tr class="memdesc:a81a8bbdd095e4a10c021f79e2ba01dc3"><td class="mdescLeft"> </td><td class="mdescRight">Emitted when credentials passed by <a class="el" href="classSignOn_1_1Identity.html#a2e159ebe6748da5bcd8dd12ba85c61db" title="Query stored credential parameters for this authentication identity. ">queryInfo()</a> method. <a href="#a81a8bbdd095e4a10c021f79e2ba01dc3">More...</a><br /></td></tr>
<tr class="separator:a81a8bbdd095e4a10c021f79e2ba01dc3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad660bcb94d45adacac3ac9818eb4bb55"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignOn_1_1Identity.html#ad660bcb94d45adacac3ac9818eb4bb55">userVerified</a> (const bool valid)</td></tr>
<tr class="memdesc:ad660bcb94d45adacac3ac9818eb4bb55"><td class="mdescLeft"> </td><td class="mdescRight">Emitted when the user verification is completed. <a href="#ad660bcb94d45adacac3ac9818eb4bb55">More...</a><br /></td></tr>
<tr class="separator:ad660bcb94d45adacac3ac9818eb4bb55"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3ca8e88d99d62aa4d90747e225673bf2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignOn_1_1Identity.html#a3ca8e88d99d62aa4d90747e225673bf2">secretVerified</a> (const bool valid)</td></tr>
<tr class="memdesc:a3ca8e88d99d62aa4d90747e225673bf2"><td class="mdescLeft"> </td><td class="mdescRight">Emitted when secret verification is completed. <a href="#a3ca8e88d99d62aa4d90747e225673bf2">More...</a><br /></td></tr>
<tr class="separator:a3ca8e88d99d62aa4d90747e225673bf2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8249edd764be456f434aab07c8e2521f"><td class="memItemLeft" align="right" valign="top"><a id="a8249edd764be456f434aab07c8e2521f"></a>
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignOn_1_1Identity.html#a8249edd764be456f434aab07c8e2521f">signedOut</a> ()</td></tr>
<tr class="memdesc:a8249edd764be456f434aab07c8e2521f"><td class="mdescLeft"> </td><td class="mdescRight">Emitted when the identity is signed out. <br /></td></tr>
<tr class="separator:a8249edd764be456f434aab07c8e2521f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aaaaf4ebf5cf253b08c9e3332d72d0590"><td class="memItemLeft" align="right" valign="top"><a id="aaaaf4ebf5cf253b08c9e3332d72d0590"></a>
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignOn_1_1Identity.html#aaaaf4ebf5cf253b08c9e3332d72d0590">removed</a> ()</td></tr>
<tr class="memdesc:aaaaf4ebf5cf253b08c9e3332d72d0590"><td class="mdescLeft"> </td><td class="mdescRight">Emitted when the identity is removed. <br /></td></tr>
<tr class="separator:aaaaf4ebf5cf253b08c9e3332d72d0590"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a9c76ba124a520e0d9bbcca71b7bf3301"><td class="memItemLeft" align="right" valign="top"><a id="a9c76ba124a520e0d9bbcca71b7bf3301"></a>
virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignOn_1_1Identity.html#a9c76ba124a520e0d9bbcca71b7bf3301">~Identity</a> ()</td></tr>
<tr class="memdesc:a9c76ba124a520e0d9bbcca71b7bf3301"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:a9c76ba124a520e0d9bbcca71b7bf3301"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6d56edf82107b9b1172dd1a196bc718d"><td class="memItemLeft" align="right" valign="top">quint32 </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignOn_1_1Identity.html#a6d56edf82107b9b1172dd1a196bc718d">id</a> () const</td></tr>
<tr class="memdesc:a6d56edf82107b9b1172dd1a196bc718d"><td class="mdescLeft"> </td><td class="mdescRight">Unique id of given identity. <a href="#a6d56edf82107b9b1172dd1a196bc718d">More...</a><br /></td></tr>
<tr class="separator:a6d56edf82107b9b1172dd1a196bc718d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af59f60ba7d26eba70d5d5033e2ec2564"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignOn_1_1Identity.html#af59f60ba7d26eba70d5d5033e2ec2564">queryAvailableMethods</a> ()</td></tr>
<tr class="memdesc:af59f60ba7d26eba70d5d5033e2ec2564"><td class="mdescLeft"> </td><td class="mdescRight">Query list of available authentication methods for given identity. <a href="#af59f60ba7d26eba70d5d5033e2ec2564">More...</a><br /></td></tr>
<tr class="separator:af59f60ba7d26eba70d5d5033e2ec2564"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a35cb8e017b92281340dc92b04250f061"><td class="memItemLeft" align="right" valign="top">AuthSessionP </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignOn_1_1Identity.html#a35cb8e017b92281340dc92b04250f061">createSession</a> (const QString &methodName)</td></tr>
<tr class="memdesc:a35cb8e017b92281340dc92b04250f061"><td class="mdescLeft"> </td><td class="mdescRight">Creates a new session for authentication. <a href="#a35cb8e017b92281340dc92b04250f061">More...</a><br /></td></tr>
<tr class="separator:a35cb8e017b92281340dc92b04250f061"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a040abe810be80c35f62c7676e0a6d226"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignOn_1_1Identity.html#a040abe810be80c35f62c7676e0a6d226">destroySession</a> (const AuthSessionP &session)</td></tr>
<tr class="memdesc:a040abe810be80c35f62c7676e0a6d226"><td class="mdescLeft"> </td><td class="mdescRight">Destroys an authentication session. <a href="#a040abe810be80c35f62c7676e0a6d226">More...</a><br /></td></tr>
<tr class="separator:a040abe810be80c35f62c7676e0a6d226"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2fa02287c38172e9dd3bd37c420f075c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignOn_1_1Identity.html#a2fa02287c38172e9dd3bd37c420f075c">requestCredentialsUpdate</a> (const QString &message=QString())</td></tr>
<tr class="memdesc:a2fa02287c38172e9dd3bd37c420f075c"><td class="mdescLeft"> </td><td class="mdescRight">Requests the user to give a new secret into database. <a href="#a2fa02287c38172e9dd3bd37c420f075c">More...</a><br /></td></tr>
<tr class="separator:a2fa02287c38172e9dd3bd37c420f075c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abf785c42794525855986d78fc1ab2c46"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignOn_1_1Identity.html#abf785c42794525855986d78fc1ab2c46">storeCredentials</a> (const <a class="el" href="classSignOn_1_1IdentityInfo.html">IdentityInfo</a> &<a class="el" href="classSignOn_1_1Identity.html#a81a8bbdd095e4a10c021f79e2ba01dc3">info</a>=<a class="el" href="classSignOn_1_1IdentityInfo.html">IdentityInfo</a>())</td></tr>
<tr class="memdesc:abf785c42794525855986d78fc1ab2c46"><td class="mdescLeft"> </td><td class="mdescRight">Stores credential parameters for this authentication identity. <a href="#abf785c42794525855986d78fc1ab2c46">More...</a><br /></td></tr>
<tr class="separator:abf785c42794525855986d78fc1ab2c46"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aaf4ef4a522fc55e55b4fa2699e13318e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignOn_1_1Identity.html#aaf4ef4a522fc55e55b4fa2699e13318e">remove</a> ()</td></tr>
<tr class="memdesc:aaf4ef4a522fc55e55b4fa2699e13318e"><td class="mdescLeft"> </td><td class="mdescRight">Removes this identity from database. <a href="#aaf4ef4a522fc55e55b4fa2699e13318e">More...</a><br /></td></tr>
<tr class="separator:aaf4ef4a522fc55e55b4fa2699e13318e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0dd25e3e7188badc3c8a0cf601c8d1e7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignOn_1_1Identity.html#a0dd25e3e7188badc3c8a0cf601c8d1e7">addReference</a> (const QString &reference=QString())</td></tr>
<tr class="memdesc:a0dd25e3e7188badc3c8a0cf601c8d1e7"><td class="mdescLeft"> </td><td class="mdescRight">Adds the named reference to identity into the database. <a href="#a0dd25e3e7188badc3c8a0cf601c8d1e7">More...</a><br /></td></tr>
<tr class="separator:a0dd25e3e7188badc3c8a0cf601c8d1e7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a17e93497951e4f41aceff86f8864274a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignOn_1_1Identity.html#a17e93497951e4f41aceff86f8864274a">removeReference</a> (const QString &reference=QString())</td></tr>
<tr class="memdesc:a17e93497951e4f41aceff86f8864274a"><td class="mdescLeft"> </td><td class="mdescRight">Removes a named reference to identity from the database. <a href="#a17e93497951e4f41aceff86f8864274a">More...</a><br /></td></tr>
<tr class="separator:a17e93497951e4f41aceff86f8864274a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2e159ebe6748da5bcd8dd12ba85c61db"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignOn_1_1Identity.html#a2e159ebe6748da5bcd8dd12ba85c61db">queryInfo</a> ()</td></tr>
<tr class="memdesc:a2e159ebe6748da5bcd8dd12ba85c61db"><td class="mdescLeft"> </td><td class="mdescRight">Query stored credential parameters for this authentication identity. <a href="#a2e159ebe6748da5bcd8dd12ba85c61db">More...</a><br /></td></tr>
<tr class="separator:a2e159ebe6748da5bcd8dd12ba85c61db"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a453e02fc554e3c566055a99cdf68679c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignOn_1_1Identity.html#a453e02fc554e3c566055a99cdf68679c">verifyUser</a> (const QString &message=QString())</td></tr>
<tr class="memdesc:a453e02fc554e3c566055a99cdf68679c"><td class="mdescLeft"> </td><td class="mdescRight">Gets a secret verification from the user and compares it to the stored secret. <a href="#a453e02fc554e3c566055a99cdf68679c">More...</a><br /></td></tr>
<tr class="separator:a453e02fc554e3c566055a99cdf68679c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0f7f2cf91db8487fd1f611cf58808a27"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignOn_1_1Identity.html#a0f7f2cf91db8487fd1f611cf58808a27">verifyUser</a> (const QVariantMap &params)</td></tr>
<tr class="memdesc:a0f7f2cf91db8487fd1f611cf58808a27"><td class="mdescLeft"> </td><td class="mdescRight">Gets a secret verification from the user and compares it to the stored secret. <a href="#a0f7f2cf91db8487fd1f611cf58808a27">More...</a><br /></td></tr>
<tr class="separator:a0f7f2cf91db8487fd1f611cf58808a27"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3e60920fb4f84c49a2e14bd20f36adf0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignOn_1_1Identity.html#a3e60920fb4f84c49a2e14bd20f36adf0">verifySecret</a> (const QString &secret)</td></tr>
<tr class="memdesc:a3e60920fb4f84c49a2e14bd20f36adf0"><td class="mdescLeft"> </td><td class="mdescRight">Verifies if the given secret match the stored secret. <a href="#a3e60920fb4f84c49a2e14bd20f36adf0">More...</a><br /></td></tr>
<tr class="separator:a3e60920fb4f84c49a2e14bd20f36adf0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8d7e6670ddba4ece4aa040a05e25b0eb"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignOn_1_1Identity.html#a8d7e6670ddba4ece4aa040a05e25b0eb">signOut</a> ()</td></tr>
<tr class="memdesc:a8d7e6670ddba4ece4aa040a05e25b0eb"><td class="mdescLeft"> </td><td class="mdescRight">Signs out <a class="el" href="classSignOn_1_1Identity.html" title="Represents a database entry for a single identity. ">Identity</a> from all services. <a href="#a8d7e6670ddba4ece4aa040a05e25b0eb">More...</a><br /></td></tr>
<tr class="separator:a8d7e6670ddba4ece4aa040a05e25b0eb"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a0b6e1a26020455461fc3328e6e1620a4"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classSignOn_1_1Identity.html">Identity</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignOn_1_1Identity.html#a0b6e1a26020455461fc3328e6e1620a4">newIdentity</a> (const <a class="el" href="classSignOn_1_1IdentityInfo.html">IdentityInfo</a> &<a class="el" href="classSignOn_1_1Identity.html#a81a8bbdd095e4a10c021f79e2ba01dc3">info</a>=<a class="el" href="classSignOn_1_1IdentityInfo.html">IdentityInfo</a>(), QObject *parent=0)</td></tr>
<tr class="memdesc:a0b6e1a26020455461fc3328e6e1620a4"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a new identity object. <a href="#a0b6e1a26020455461fc3328e6e1620a4">More...</a><br /></td></tr>
<tr class="separator:a0b6e1a26020455461fc3328e6e1620a4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae660406b3c8ff7280c4b9e9dd16c03c4"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classSignOn_1_1Identity.html">Identity</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignOn_1_1Identity.html#ae660406b3c8ff7280c4b9e9dd16c03c4">existingIdentity</a> (const quint32 <a class="el" href="classSignOn_1_1Identity.html#a6d56edf82107b9b1172dd1a196bc718d">id</a>, QObject *parent=0)</td></tr>
<tr class="memdesc:ae660406b3c8ff7280c4b9e9dd16c03c4"><td class="mdescLeft"> </td><td class="mdescRight">Constructs an identity object associated with an existing identity record. <a href="#ae660406b3c8ff7280c4b9e9dd16c03c4">More...</a><br /></td></tr>
<tr class="separator:ae660406b3c8ff7280c4b9e9dd16c03c4"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:af7188aa76fe1201840b27d6c693a39e5"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSignOn_1_1Identity.html#af7188aa76fe1201840b27d6c693a39e5">Identity</a> (const quint32 <a class="el" href="classSignOn_1_1Identity.html#a6d56edf82107b9b1172dd1a196bc718d">id</a>=SSO_NEW_IDENTITY, QObject *parent=0)</td></tr>
<tr class="separator:af7188aa76fe1201840b27d6c693a39e5"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Represents a database entry for a single identity. </p>
<p><a class="el" href="classSignOn_1_1Identity.html" title="Represents a database entry for a single identity. ">Identity</a> is a client side presentation of a credential. </p>
<p>Definition at line <a class="el" href="identity_8h_source.html#l00057">57</a> of file <a class="el" href="identity_8h_source.html">identity.h</a>.</p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="a4843775ea5506e6347d45913da575b41"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4843775ea5506e6347d45913da575b41">§ </a></span>IdentityError</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classSignOn_1_1Identity.html#a4843775ea5506e6347d45913da575b41">SignOn::Identity::IdentityError</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Codes for errors that may be reported by <a class="el" href="classSignOn_1_1Identity.html" title="Represents a database entry for a single identity. ">Identity</a> objects. </p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000004">Deprecated:</a></b></dt><dd>This enum is deprecated.</dd></dl>
<p>Replaced by <a class="el" href="classSignOn_1_1Error.html#a77c688c5b51f13d5f6126e159d72be6d" title="Error codes for all the Signon by default supported errors. ">Error::ErrorType</a>. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a4843775ea5506e6347d45913da575b41a5f812add63c81f95c6072e7b77c05747"></a>UnknownError </td><td class="fielddoc"><p>Catch-all for errors not distinguished by another code. </p>
</td></tr>
<tr><td class="fieldname"><a id="a4843775ea5506e6347d45913da575b41a7b47dc8132c1fc0b6b17b166919fd9bf"></a>InternalServerError </td><td class="fielddoc"><p>Signon Daemon internal error. </p>
</td></tr>
<tr><td class="fieldname"><a id="a4843775ea5506e6347d45913da575b41a3ebe91116cbf21adefb4369a9aa9d538"></a>InternalCommunicationError </td><td class="fielddoc"><p>Communication with Signon Daemon error . </p>
</td></tr>
<tr><td class="fieldname"><a id="a4843775ea5506e6347d45913da575b41a792e12ed8086438d1a465454dc38f426"></a>PermissionDeniedError </td><td class="fielddoc"><p>The operation cannot be performed due to insufficient client permissions. </p>
</td></tr>
<tr><td class="fieldname"><a id="a4843775ea5506e6347d45913da575b41aa42c1ab1131a1309a70d4ef6701bdf2c"></a>MethodNotAvailableError </td><td class="fielddoc"><p>The requested mechanism is not available. </p>
</td></tr>
<tr><td class="fieldname"><a id="a4843775ea5506e6347d45913da575b41a9a784801d6bd8d54e8e32ca0c9cc0f20"></a>NotFoundError </td><td class="fielddoc"><p>The identity matching this <a class="el" href="classSignOn_1_1Identity.html" title="Represents a database entry for a single identity. ">Identity</a> object was not found on the service. </p>
</td></tr>
<tr><td class="fieldname"><a id="a4843775ea5506e6347d45913da575b41ab2aea5bbdcf470643cd18f4767fa904a"></a>StoreFailedError </td><td class="fielddoc"><p>Storing credentials failed. </p>
</td></tr>
<tr><td class="fieldname"><a id="a4843775ea5506e6347d45913da575b41ae595910e24ed19f8aa43237504d6a4e2"></a>RemoveFailedError </td><td class="fielddoc"><p>Removing credentials failed. </p>
</td></tr>
<tr><td class="fieldname"><a id="a4843775ea5506e6347d45913da575b41a0ac56b96cb1885a3a9f5a1086be60156"></a>SignOutFailedError </td><td class="fielddoc"><p>SignOut failed. </p>
</td></tr>
<tr><td class="fieldname"><a id="a4843775ea5506e6347d45913da575b41a50041d88aca694201fa78cfe17d48202"></a>CanceledError </td><td class="fielddoc"><p>Operation was canceled by user. </p>
</td></tr>
<tr><td class="fieldname"><a id="a4843775ea5506e6347d45913da575b41aef84d88404175a48a33553d6861f58a3"></a>CredentialsNotAvailableError </td><td class="fielddoc"><p>Query fails </p>
</td></tr>
</table>
<p>Definition at line <a class="el" href="identity_8h_source.html#l00070">70</a> of file <a class="el" href="identity_8h_source.html">identity.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="af7188aa76fe1201840b27d6c693a39e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af7188aa76fe1201840b27d6c693a39e5">§ </a></span>Identity()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">SignOn::Identity::Identity </td>
<td>(</td>
<td class="paramtype">const quint32 </td>
<td class="paramname"><em>id</em> = <code>SSO_NEW_IDENTITY</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QObject * </td>
<td class="paramname"><em>parent</em> = <code>0</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="identity_8cpp_source.html#l00030">30</a> of file <a class="el" href="identity_8cpp_source.html">identity.cpp</a>.</p>
<p>Referenced by <a class="el" href="identity_8cpp_source.html#l00052">existingIdentity()</a>, and <a class="el" href="identity_8cpp_source.html#l00045">newIdentity()</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a0dd25e3e7188badc3c8a0cf601c8d1e7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0dd25e3e7188badc3c8a0cf601c8d1e7">§ </a></span>addReference()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void SignOn::Identity::addReference </td>
<td>(</td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>reference</em> = <code>QString()</code></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds the named reference to identity into the database. </p>
<p>On success, a signal <a class="el" href="classSignOn_1_1Identity.html#a549b30b1c9e9d86e7af4770f99ce727b" title="Emitted when references are added by addReference() method and change has been successfully stored on...">referenceAdded()</a> is emitted If the operation fails, a signal <a class="el" href="classSignOn_1_1Identity.html#a0ff5ec807c8e774abb1b01e93f210cb7" title="Emitted when an error occurs while performing an operation. ">error()</a> is emitted. If referencing fails, <a class="el" href="classSignOn_1_1Error.html#a8979c1f5c0fa258edff160b730b70f94">Error::type()</a> is <a class="el" href="classSignOn_1_1Error.html#a77c688c5b51f13d5f6126e159d72be6da2bdd3b3110454760493afd32fa74ae33">Error::StoreFailed</a>,</p>
<p>Untrusted clients may be blocked from performing this operation, subject to the security framework restrictions. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classSignOn_1_1Identity.html#a549b30b1c9e9d86e7af4770f99ce727b" title="Emitted when references are added by addReference() method and change has been successfully stored on...">referenceAdded()</a> </dd>
<dd>
<a class="el" href="classSignOn_1_1Identity.html#a0ff5ec807c8e774abb1b01e93f210cb7" title="Emitted when an error occurs while performing an operation. ">Identity::error()</a> </dd></dl>
<p>Definition at line <a class="el" href="identity_8cpp_source.html#l00104">104</a> of file <a class="el" href="identity_8cpp_source.html">identity.cpp</a>.</p>
</div>
</div>
<a id="a35cb8e017b92281340dc92b04250f061"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a35cb8e017b92281340dc92b04250f061">§ </a></span>createSession()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">AuthSessionP SignOn::Identity::createSession </td>
<td>(</td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>methodName</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a new session for authentication. </p>
<p>This creates a connection to authentication plugin. The <a class="el" href="classSignOn_1_1Identity.html" title="Represents a database entry for a single identity. ">Identity</a> object is parent and owner of all created authentication sessions.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">methodName</td><td>Name of authentication method to use </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>New authentication session or NULL if not able to create </dd></dl>
<p>Definition at line <a class="el" href="identity_8cpp_source.html#l00073">73</a> of file <a class="el" href="identity_8cpp_source.html">identity.cpp</a>.</p>
</div>
</div>
<a id="a93e4eaddcd369798dbe30ef653f70220"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a93e4eaddcd369798dbe30ef653f70220">§ </a></span>credentialsStored</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void SignOn::Identity::credentialsStored </td>
<td>(</td>
<td class="paramtype">const quint32 </td>
<td class="paramname"><em>id</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Emitted when credentials passed by <a class="el" href="classSignOn_1_1Identity.html#abf785c42794525855986d78fc1ab2c46" title="Stores credential parameters for this authentication identity. ">storeCredentials()</a> method have been successfully stored on the service. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">id</td><td>Identifier of the credentials that has been stored </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a040abe810be80c35f62c7676e0a6d226"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a040abe810be80c35f62c7676e0a6d226">§ </a></span>destroySession()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void SignOn::Identity::destroySession </td>
<td>(</td>
<td class="paramtype">const AuthSessionP & </td>
<td class="paramname"><em>session</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Destroys an authentication session. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">session</td><td>Session to be destroyed </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="identity_8cpp_source.html#l00081">81</a> of file <a class="el" href="identity_8cpp_source.html">identity.cpp</a>.</p>
</div>
</div>
<a id="a0ff5ec807c8e774abb1b01e93f210cb7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0ff5ec807c8e774abb1b01e93f210cb7">§ </a></span>error</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void SignOn::Identity::error </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classSignOn_1_1Error.html">SignOn::Error</a> & </td>
<td class="paramname"><em>err</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Emitted when an error occurs while performing an operation. </p>
<p>Typical error types are generic errors, where <a class="el" href="classSignOn_1_1Error.html#a8979c1f5c0fa258edff160b730b70f94">Error::type()</a> < Error::AuthServiceErr and <a class="el" href="classSignOn_1_1Identity.html" title="Represents a database entry for a single identity. ">Identity</a> specific, where Error::IdentityErr < <a class="el" href="classSignOn_1_1Error.html#a8979c1f5c0fa258edff160b730b70f94">Error::type()</a> < Error::AuthServiceErr </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classSignOn_1_1Error.html" title="definition for Signon error handling. ">SignOn::Error</a>. </dd>
<dd>
<a class="el" href="classSignOn_1_1Error.html#a77c688c5b51f13d5f6126e159d72be6d" title="Error codes for all the Signon by default supported errors. ">SignOn::Error::ErrorType</a> </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">err</td><td>The error object. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ae660406b3c8ff7280c4b9e9dd16c03c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae660406b3c8ff7280c4b9e9dd16c03c4">§ </a></span>existingIdentity()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classSignOn_1_1Identity.html">Identity</a> * SignOn::Identity::existingIdentity </td>
<td>(</td>
<td class="paramtype">const quint32 </td>
<td class="paramname"><em>id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QObject * </td>
<td class="paramname"><em>parent</em> = <code>0</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructs an identity object associated with an existing identity record. </p>
<p>Can return NULL if client is untrusted.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">id</td><td><a class="el" href="classSignOn_1_1Identity.html" title="Represents a database entry for a single identity. ">Identity</a> ID on the service </td></tr>
<tr><td class="paramname">parent</td><td>Parent object of the identity </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Pointer to identity object or NULL if it fails to create. </dd></dl>
<p>Definition at line <a class="el" href="identity_8cpp_source.html#l00052">52</a> of file <a class="el" href="identity_8cpp_source.html">identity.cpp</a>.</p>
<p>References <a class="el" href="identity_8cpp_source.html#l00030">Identity()</a>.</p>
</div>
</div>
<a id="a6d56edf82107b9b1172dd1a196bc718d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6d56edf82107b9b1172dd1a196bc718d">§ </a></span>id()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">quint32 SignOn::Identity::id </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Unique id of given identity. </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classSignOn_1_1Identity.html" title="Represents a database entry for a single identity. ">Identity</a> ID of the identity. For new identity which is not stored, NEW_IDENTITY is returned. </dd></dl>
<p>Definition at line <a class="el" href="identity_8cpp_source.html#l00063">63</a> of file <a class="el" href="identity_8cpp_source.html">identity.cpp</a>.</p>
</div>
</div>
<a id="a81a8bbdd095e4a10c021f79e2ba01dc3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a81a8bbdd095e4a10c021f79e2ba01dc3">§ </a></span>info</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void SignOn::Identity::info </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classSignOn_1_1IdentityInfo.html">SignOn::IdentityInfo</a> & </td>
<td class="paramname"><em>info</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Emitted when credentials passed by <a class="el" href="classSignOn_1_1Identity.html#a2e159ebe6748da5bcd8dd12ba85c61db" title="Query stored credential parameters for this authentication identity. ">queryInfo()</a> method. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">info</td><td>Credentials as have been stored on the service </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a8910a53c44e4d43c394d58b2d4f3f45c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8910a53c44e4d43c394d58b2d4f3f45c">§ </a></span>methodsAvailable</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void SignOn::Identity::methodsAvailable </td>
<td>(</td>
<td class="paramtype">const QStringList & </td>
<td class="paramname"><em>methods</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Emitted when the list of available mechanisms has been obtained for identity. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">methods</td><td>List of available methods </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a0b6e1a26020455461fc3328e6e1620a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0b6e1a26020455461fc3328e6e1620a4">§ </a></span>newIdentity()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classSignOn_1_1Identity.html">Identity</a> * SignOn::Identity::newIdentity </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classSignOn_1_1IdentityInfo.html">IdentityInfo</a> & </td>
<td class="paramname"><em>info</em> = <code><a class="el" href="classSignOn_1_1IdentityInfo.html">IdentityInfo</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QObject * </td>
<td class="paramname"><em>parent</em> = <code>0</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructs a new identity object. </p>
<p>Can return NULL if client is untrusted.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">info</td><td><a class="el" href="classSignOn_1_1Identity.html" title="Represents a database entry for a single identity. ">Identity</a> information </td></tr>
<tr><td class="paramname">parent</td><td>Parent object of the identity </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Pointer to new identity object or NULL if it fails to create. </dd></dl>
<p>Definition at line <a class="el" href="identity_8cpp_source.html#l00045">45</a> of file <a class="el" href="identity_8cpp_source.html">identity.cpp</a>.</p>
<p>References <a class="el" href="identity_8cpp_source.html#l00030">Identity()</a>.</p>
</div>
</div>
<a id="af59f60ba7d26eba70d5d5033e2ec2564"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af59f60ba7d26eba70d5d5033e2ec2564">§ </a></span>queryAvailableMethods()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void SignOn::Identity::queryAvailableMethods </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Query list of available authentication methods for given identity. </p>
<p>List is returned by emitting signal <a class="el" href="classSignOn_1_1Identity.html#a8910a53c44e4d43c394d58b2d4f3f45c" title="Emitted when the list of available mechanisms has been obtained for identity. ">methodsAvailable()</a>. If the operation fails, a signal <a class="el" href="classSignOn_1_1Identity.html#a0ff5ec807c8e774abb1b01e93f210cb7" title="Emitted when an error occurs while performing an operation. ">error()</a> is emitted. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classSignOn_1_1Identity.html#a0ff5ec807c8e774abb1b01e93f210cb7" title="Emitted when an error occurs while performing an operation. ">Identity::error()</a> If identity is not stored, <a class="el" href="classSignOn_1_1Error.html#a8979c1f5c0fa258edff160b730b70f94">Error::type()</a> is <a class="el" href="classSignOn_1_1Error.html#a77c688c5b51f13d5f6126e159d72be6dabeac7bcfcc6e01d9411e0369d5062d22">Error::CredentialsNotAvailable</a>, or <a class="el" href="classSignOn_1_1Error.html#a77c688c5b51f13d5f6126e159d72be6da37eae864fc34939569478cf57316b9df">Error::IdentityNotFound</a>. </dd>
<dd>
<a class="el" href="classSignOn_1_1Identity.html#a8910a53c44e4d43c394d58b2d4f3f45c" title="Emitted when the list of available mechanisms has been obtained for identity. ">methodsAvailable()</a>. </dd></dl>
<p>Definition at line <a class="el" href="identity_8cpp_source.html#l00068">68</a> of file <a class="el" href="identity_8cpp_source.html">identity.cpp</a>.</p>
</div>
</div>
<a id="a2e159ebe6748da5bcd8dd12ba85c61db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2e159ebe6748da5bcd8dd12ba85c61db">§ </a></span>queryInfo()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void SignOn::Identity::queryInfo </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Query stored credential parameters for this authentication identity. </p>
<p>On success, a signal <a class="el" href="classSignOn_1_1Identity.html#a81a8bbdd095e4a10c021f79e2ba01dc3" title="Emitted when credentials passed by queryInfo() method. ">info()</a> is emitted with parameters in the service. If the operation fails, a signal <a class="el" href="classSignOn_1_1Identity.html#a0ff5ec807c8e774abb1b01e93f210cb7" title="Emitted when an error occurs while performing an operation. ">error()</a> is emitted. If query fails, <a class="el" href="classSignOn_1_1Error.html#a8979c1f5c0fa258edff160b730b70f94">Error::type()</a> is <a class="el" href="classSignOn_1_1Error.html#a77c688c5b51f13d5f6126e159d72be6dabeac7bcfcc6e01d9411e0369d5062d22">Error::CredentialsNotAvailable</a>,</p>
<p>Untrusted clients may be blocked from performing this operation, subject to the security framework restrictions. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classSignOn_1_1Identity.html#a81a8bbdd095e4a10c021f79e2ba01dc3" title="Emitted when credentials passed by queryInfo() method. ">info()</a> </dd>
<dd>
<a class="el" href="classSignOn_1_1Identity.html#a0ff5ec807c8e774abb1b01e93f210cb7" title="Emitted when an error occurs while performing an operation. ">Identity::error()</a> </dd></dl>
<p>Definition at line <a class="el" href="identity_8cpp_source.html#l00114">114</a> of file <a class="el" href="identity_8cpp_source.html">identity.cpp</a>.</p>
</div>
</div>
<a id="aaf4ef4a522fc55e55b4fa2699e13318e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf4ef4a522fc55e55b4fa2699e13318e">§ </a></span>remove()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void SignOn::Identity::remove </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes this identity from database. </p>
<p>On success, a signal <a class="el" href="classSignOn_1_1Identity.html#aaaaf4ebf5cf253b08c9e3332d72d0590" title="Emitted when the identity is removed. ">removed()</a> is emitted If the operation fails, a signal <a class="el" href="classSignOn_1_1Identity.html#a0ff5ec807c8e774abb1b01e93f210cb7" title="Emitted when an error occurs while performing an operation. ">error()</a> is emitted. If removing fails, <a class="el" href="classSignOn_1_1Error.html#a8979c1f5c0fa258edff160b730b70f94">Error::type()</a> is <a class="el" href="classSignOn_1_1Error.html#a77c688c5b51f13d5f6126e159d72be6da31a898eeefb38bf8f2f472ca76d92fcf">Error::RemoveFailed</a>,</p>
<p>Untrusted clients may be blocked from performing this operation, subject to the security framework restrictions. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classSignOn_1_1Identity.html#aaaaf4ebf5cf253b08c9e3332d72d0590" title="Emitted when the identity is removed. ">removed()</a> </dd>
<dd>
<a class="el" href="classSignOn_1_1Identity.html#a0ff5ec807c8e774abb1b01e93f210cb7" title="Emitted when an error occurs while performing an operation. ">Identity::error()</a> </dd></dl>
<p>Definition at line <a class="el" href="identity_8cpp_source.html#l00099">99</a> of file <a class="el" href="identity_8cpp_source.html">identity.cpp</a>.</p>
</div>
</div>
<a id="a17e93497951e4f41aceff86f8864274a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a17e93497951e4f41aceff86f8864274a">§ </a></span>removeReference()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void SignOn::Identity::removeReference </td>
<td>(</td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>reference</em> = <code>QString()</code></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes a named reference to identity from the database. </p>
<p>On success, a signal <a class="el" href="classSignOn_1_1Identity.html#a91ce26193f116f6f200609aa381c6e5a" title="Emitted when references are removed by removeReference() method and change has been successfully stor...">referenceRemoved()</a> is emitted If the operation fails, a signal <a class="el" href="classSignOn_1_1Identity.html#a0ff5ec807c8e774abb1b01e93f210cb7" title="Emitted when an error occurs while performing an operation. ">error()</a> is emitted. If dereferencing fails, <a class="el" href="classSignOn_1_1Error.html#a8979c1f5c0fa258edff160b730b70f94">Error::type()</a> is <a class="el" href="classSignOn_1_1Error.html#a77c688c5b51f13d5f6126e159d72be6daf8cc51445f106dfb290899ad1be160bf">Error::ReferenceNotFound</a>,</p>
<p>Untrusted clients may be blocked from performing this operation, subject to the security framework restrictions. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classSignOn_1_1Identity.html#a91ce26193f116f6f200609aa381c6e5a" title="Emitted when references are removed by removeReference() method and change has been successfully stor...">referenceRemoved()</a> </dd>
<dd>
<a class="el" href="classSignOn_1_1Identity.html#a0ff5ec807c8e774abb1b01e93f210cb7" title="Emitted when an error occurs while performing an operation. ">Identity::error()</a> </dd></dl>
<p>Definition at line <a class="el" href="identity_8cpp_source.html#l00109">109</a> of file <a class="el" href="identity_8cpp_source.html">identity.cpp</a>.</p>
</div>
</div>
<a id="a2fa02287c38172e9dd3bd37c420f075c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2fa02287c38172e9dd3bd37c420f075c">§ </a></span>requestCredentialsUpdate()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void SignOn::Identity::requestCredentialsUpdate </td>
<td>(</td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>message</em> = <code>QString()</code></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Requests the user to give a new secret into database. </p>
<p>Client can use <a class="el" href="classSignOn_1_1Identity.html#a2fa02287c38172e9dd3bd37c420f075c" title="Requests the user to give a new secret into database. ">requestCredentialsUpdate()</a> to launch external dialog for asking new secret, that will be stored into database. On success, a signal <a class="el" href="classSignOn_1_1Identity.html#a93e4eaddcd369798dbe30ef653f70220" title="Emitted when credentials passed by storeCredentials() method have been successfully stored on the ser...">credentialsStored()</a> is emitted. If the operation fails, a signal <a class="el" href="classSignOn_1_1Identity.html#a0ff5ec807c8e774abb1b01e93f210cb7" title="Emitted when an error occurs while performing an operation. ">error()</a> is emitted. If storing changes fails, <a class="el" href="classSignOn_1_1Error.html#a8979c1f5c0fa258edff160b730b70f94">Error::type()</a> is <a class="el" href="classSignOn_1_1Error.html#a77c688c5b51f13d5f6126e159d72be6da2bdd3b3110454760493afd32fa74ae33">Error::StoreFailed</a>, If user cancels dialog, <a class="el" href="classSignOn_1_1Error.html#a8979c1f5c0fa258edff160b730b70f94">Error::type()</a> is <a class="el" href="classSignOn_1_1Error.html#a77c688c5b51f13d5f6126e159d72be6dadc38578033e89c8a7c3f94f3692460cf">Error::IdentityOperationCanceled</a>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classSignOn_1_1Identity.html#a93e4eaddcd369798dbe30ef653f70220" title="Emitted when credentials passed by storeCredentials() method have been successfully stored on the ser...">credentialsStored()</a> </dd>
<dd>
<a class="el" href="classSignOn_1_1Identity.html#a0ff5ec807c8e774abb1b01e93f210cb7" title="Emitted when an error occurs while performing an operation. ">Identity::error()</a> </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">message</td><td>Message to be shown for the user </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="identity_8cpp_source.html#l00089">89</a> of file <a class="el" href="identity_8cpp_source.html">identity.cpp</a>.</p>
</div>
</div>
<a id="a3ca8e88d99d62aa4d90747e225673bf2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ca8e88d99d62aa4d90747e225673bf2">§ </a></span>secretVerified</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void SignOn::Identity::secretVerified </td>
<td>(</td>
<td class="paramtype">const bool </td>
<td class="paramname"><em>valid</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Emitted when secret verification is completed. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">valid</td><td>Is the given secret same as stored </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a8d7e6670ddba4ece4aa040a05e25b0eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8d7e6670ddba4ece4aa040a05e25b0eb">§ </a></span>signOut()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void SignOn::Identity::signOut </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Signs out <a class="el" href="classSignOn_1_1Identity.html" title="Represents a database entry for a single identity. ">Identity</a> from all services. </p>
<p>All authentication sessions using this <a class="el" href="classSignOn_1_1Identity.html" title="Represents a database entry for a single identity. ">Identity</a> will be invalidated and all tokens cleared from cache. When sign out is completed, signal <a class="el" href="classSignOn_1_1Identity.html#a8249edd764be456f434aab07c8e2521f" title="Emitted when the identity is signed out. ">signedOut()</a> is emitted. If the operation fails, a signal <a class="el" href="classSignOn_1_1Identity.html#a0ff5ec807c8e774abb1b01e93f210cb7" title="Emitted when an error occurs while performing an operation. ">error()</a> is emitted. If signout fails, <a class="el" href="classSignOn_1_1Error.html#a8979c1f5c0fa258edff160b730b70f94">Error::type()</a> is <a class="el" href="classSignOn_1_1Error.html#a77c688c5b51f13d5f6126e159d72be6da9f85da7ab58695233b8e51abbc3360fa">Error::SignOutFailed</a>.</p>
<p>All clients using same identity will receive signedOut signal. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classSignOn_1_1Identity.html#a8249edd764be456f434aab07c8e2521f" title="Emitted when the identity is signed out. ">signedOut()</a> </dd>
<dd>
<a class="el" href="classSignOn_1_1Identity.html#a0ff5ec807c8e774abb1b01e93f210cb7" title="Emitted when an error occurs while performing an operation. ">Identity::error()</a> </dd></dl>
<p>Definition at line <a class="el" href="identity_8cpp_source.html#l00134">134</a> of file <a class="el" href="identity_8cpp_source.html">identity.cpp</a>.</p>
</div>
</div>
<a id="abf785c42794525855986d78fc1ab2c46"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf785c42794525855986d78fc1ab2c46">§ </a></span>storeCredentials()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void SignOn::Identity::storeCredentials </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classSignOn_1_1IdentityInfo.html">IdentityInfo</a> & </td>
<td class="paramname"><em>info</em> = <code><a class="el" href="classSignOn_1_1IdentityInfo.html">IdentityInfo</a>()</code></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Stores credential parameters for this authentication identity. </p>
<p><a class="el" href="classSignOn_1_1IdentityInfo.html" title="Contains identity information. ">IdentityInfo</a> contains restrictions on methods and mechanisms for given <a class="el" href="classSignOn_1_1Identity.html" title="Represents a database entry for a single identity. ">Identity</a>. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classSignOn_1_1IdentityInfo.html" title="Contains identity information. ">IdentityInfo</a> On success, a signal <a class="el" href="classSignOn_1_1Identity.html#a93e4eaddcd369798dbe30ef653f70220" title="Emitted when credentials passed by storeCredentials() method have been successfully stored on the ser...">credentialsStored()</a> is emitted. If the operation fails, a signal <a class="el" href="classSignOn_1_1Identity.html#a0ff5ec807c8e774abb1b01e93f210cb7" title="Emitted when an error occurs while performing an operation. ">error()</a> is emitted. If storing changes fails, <a class="el" href="classSignOn_1_1Error.html#a8979c1f5c0fa258edff160b730b70f94">Error::type()</a> is <a class="el" href="classSignOn_1_1Error.html#a77c688c5b51f13d5f6126e159d72be6da2bdd3b3110454760493afd32fa74ae33">Error::StoreFailed</a>,</dd></dl>
<p>Untrusted clients may be blocked from performing this operation, subject to the security framework restrictions.</p>
<p>If default value is used for the parameter the <a class="el" href="classSignOn_1_1Identity.html" title="Represents a database entry for a single identity. ">Identity</a> object stores the internally stored information, e.g. the <a class="el" href="classSignOn_1_1IdentityInfo.html" title="Contains identity information. ">IdentityInfo</a> object used to create a new identity using <a class="el" href="classSignOn_1_1Identity.html#a0b6e1a26020455461fc3328e6e1620a4" title="Constructs a new identity object. ">Identity::newIdentity()</a></p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classSignOn_1_1Identity.html#a93e4eaddcd369798dbe30ef653f70220" title="Emitted when credentials passed by storeCredentials() method have been successfully stored on the ser...">credentialsStored()</a> </dd>
<dd>
<a class="el" href="classSignOn_1_1Identity.html#a0ff5ec807c8e774abb1b01e93f210cb7" title="Emitted when an error occurs while performing an operation. ">Identity::error()</a> </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">info</td><td>Credentials to store </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="identity_8cpp_source.html#l00094">94</a> of file <a class="el" href="identity_8cpp_source.html">identity.cpp</a>.</p>
</div>
</div>
<a id="ad660bcb94d45adacac3ac9818eb4bb55"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad660bcb94d45adacac3ac9818eb4bb55">§ </a></span>userVerified</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void SignOn::Identity::userVerified </td>
<td>(</td>
<td class="paramtype">const bool </td>
<td class="paramname"><em>valid</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Emitted when the user verification is completed. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">valid</td><td>Is the given secret same as stored </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a3e60920fb4f84c49a2e14bd20f36adf0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3e60920fb4f84c49a2e14bd20f36adf0">§ </a></span>verifySecret()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void SignOn::Identity::verifySecret </td>
<td>(</td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>secret</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Verifies if the given secret match the stored secret. </p>
<p>When verification is completed, a signal <a class="el" href="classSignOn_1_1Identity.html#a3ca8e88d99d62aa4d90747e225673bf2" title="Emitted when secret verification is completed. ">secretVerified()</a> is emitted. If the operation fails, a signal <a class="el" href="classSignOn_1_1Identity.html#a0ff5ec807c8e774abb1b01e93f210cb7" title="Emitted when an error occurs while performing an operation. ">error()</a> is emitted. If the credentials are not stored, <a class="el" href="classSignOn_1_1Error.html#a8979c1f5c0fa258edff160b730b70f94">Error::type()</a> is <a class="el" href="classSignOn_1_1Error.html#a77c688c5b51f13d5f6126e159d72be6dabeac7bcfcc6e01d9411e0369d5062d22">Error::CredentialsNotAvailable</a>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classSignOn_1_1Identity.html#a3ca8e88d99d62aa4d90747e225673bf2" title="Emitted when secret verification is completed. ">secretVerified()</a> </dd>
<dd>
<a class="el" href="classSignOn_1_1Identity.html#a0ff5ec807c8e774abb1b01e93f210cb7" title="Emitted when an error occurs while performing an operation. ">Identity::error()</a> </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">secret</td><td>String to be verified </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="identity_8cpp_source.html#l00129">129</a> of file <a class="el" href="identity_8cpp_source.html">identity.cpp</a>.</p>
</div>
</div>
<a id="a453e02fc554e3c566055a99cdf68679c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a453e02fc554e3c566055a99cdf68679c">§ </a></span>verifyUser() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void SignOn::Identity::verifyUser </td>
<td>(</td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>message</em> = <code>QString()</code></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets a secret verification from the user and compares it to the stored secret. </p>
<p>This launchs an external dialog for asking secret. When verification is completed, signal <a class="el" href="classSignOn_1_1Identity.html#ad660bcb94d45adacac3ac9818eb4bb55" title="Emitted when the user verification is completed. ">userVerified()</a> is emitted. If the operation fails, a signal <a class="el" href="classSignOn_1_1Identity.html#a0ff5ec807c8e774abb1b01e93f210cb7" title="Emitted when an error occurs while performing an operation. ">error()</a> is emitted. If user selects "Forgot Password"-sequence, <a class="el" href="classSignOn_1_1Error.html#a8979c1f5c0fa258edff160b730b70f94">Error::type()</a> is <a class="el" href="classSignOn_1_1Error.html#a77c688c5b51f13d5f6126e159d72be6da9188b65246e2499015dbb6df920a6d0d">Error::ForgotPassword</a>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classSignOn_1_1Identity.html#ad660bcb94d45adacac3ac9818eb4bb55" title="Emitted when the user verification is completed. ">userVerified()</a> </dd>
<dd>
<a class="el" href="classSignOn_1_1Identity.html#a0ff5ec807c8e774abb1b01e93f210cb7" title="Emitted when an error occurs while performing an operation. ">Identity::error()</a> </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">message</td><td>Message to be shown for the user </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="identity_8cpp_source.html#l00119">119</a> of file <a class="el" href="identity_8cpp_source.html">identity.cpp</a>.</p>
</div>
</div>
<a id="a0f7f2cf91db8487fd1f611cf58808a27"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0f7f2cf91db8487fd1f611cf58808a27">§ </a></span>verifyUser() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void SignOn::Identity::verifyUser </td>
<td>(</td>
<td class="paramtype">const QVariantMap & </td>
<td class="paramname"><em>params</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets a secret verification from the user and compares it to the stored secret. </p>
<p>This launchs an external dialog for asking secret. When verification is completed, signal <a class="el" href="classSignOn_1_1Identity.html#ad660bcb94d45adacac3ac9818eb4bb55" title="Emitted when the user verification is completed. ">userVerified()</a> is emitted. If the operation fails, a signal <a class="el" href="classSignOn_1_1Identity.html#a0ff5ec807c8e774abb1b01e93f210cb7" title="Emitted when an error occurs while performing an operation. ">error()</a> is emitted. If user selects "Forgot Password"-sequence, <a class="el" href="classSignOn_1_1Error.html#a8979c1f5c0fa258edff160b730b70f94">Error::type()</a> is <a class="el" href="classSignOn_1_1Error.html#a77c688c5b51f13d5f6126e159d72be6da9188b65246e2499015dbb6df920a6d0d">Error::ForgotPassword</a>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classSignOn_1_1Identity.html#ad660bcb94d45adacac3ac9818eb4bb55" title="Emitted when the user verification is completed. ">userVerified()</a> </dd>
<dd>
<a class="el" href="classSignOn_1_1Identity.html#a0ff5ec807c8e774abb1b01e93f210cb7" title="Emitted when an error occurs while performing an operation. ">Identity::error()</a> </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">params</td><td>Dialog customization parameters </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="identity_8cpp_source.html#l00124">124</a> of file <a class="el" href="identity_8cpp_source.html">identity.cpp</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="identity_8h_source.html">identity.h</a></li>
<li><a class="el" href="identity_8cpp_source.html">identity.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceSignOn.html">SignOn</a></li><li class="navelem"><a class="el" href="classSignOn_1_1Identity.html">Identity</a></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>
|