~phablet-team/syncevolution/ubuntu

Viewing all changes in revision 4631.

  • Committer: Patrick Ohly
  • Author(s): Alberto Mardegan
  • Date: 2015-03-03 09:43:26 UTC
  • Revision ID: git-v1:9acfd11de7f811862eb51e27e05a883870df134f
signon-accounts: implement getCredentials

Use the information contained in the AgAuthData object to decide which
authentication method is being used.
Move the common authentication code into a private authenticate()
method.

[PO: fixed g_variant_builder_end() mem leak]
[PO: avoid issue found via cppcheck: returning std::string::c_str() in
a method returning a std::string forces a string copy, which is
inefficient.]
[PO: UiPolicy was not set because of an invalid g_variant_builder_add()
"sv" parameter.]

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: