[owncloud-devel] client credentials

Klaas Freitag freitag at owncloud.com
Wed May 4 05:34:11 GMT 2016


On 03.05.2016 23:09, happy wrote:
> Hi everyone,
> I am reading owncloud client code and having problems finding the exact code for
> fetching local user credentials. Could anyone give me some instructions?

Look at src/libsync/creds/httpcredentials.cpp in function 
fetchFromKeychain()

We use a project called QtKeyChain [1] to store the credentials in a 
secure way. fetchFromKeychain() reads it using an asynchronous
ReadPasswordJob

HTH,

klaas

[1] https://github.com/frankosterfeld/qtkeychain



More information about the Devel mailing list