diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-09-18 11:40:41 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-09-18 11:40:45 +0200 |
commit | a7e7f7fdd2a9d38921476d57f305c9cd4459a556 (patch) | |
tree | d9ad3bdc3e275004a54f508025f0d52227ab18cb /examples/davresource/davresource.h | |
parent | ea2e02ad656640c17d520b5a22c168c3c1faef56 (diff) | |
download | sink-a7e7f7fdd2a9d38921476d57f305c9cd4459a556.tar.gz sink-a7e7f7fdd2a9d38921476d57f305c9cd4459a556.zip |
Avoid storing the password in the configuration
The password (or any other secret), is now cached in the client process
(in-memory only), and delivered to the resource via command.
The resource avoids doing any operations against the source until the
secret is available.
Diffstat (limited to 'examples/davresource/davresource.h')
-rw-r--r-- | examples/davresource/davresource.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/examples/davresource/davresource.h b/examples/davresource/davresource.h index db175a4..b4f9e5a 100644 --- a/examples/davresource/davresource.h +++ b/examples/davresource/davresource.h | |||
@@ -44,11 +44,6 @@ class DavResource : public Sink::GenericResource | |||
44 | { | 44 | { |
45 | public: | 45 | public: |
46 | DavResource(const Sink::ResourceContext &resourceContext); | 46 | DavResource(const Sink::ResourceContext &resourceContext); |
47 | |||
48 | private: | ||
49 | QStringList listAvailableFolders(); | ||
50 | |||
51 | KDAV2::DavUrl mResourceUrl; | ||
52 | }; | 47 | }; |
53 | 48 | ||
54 | class DavResourceFactory : public Sink::ResourceFactory | 49 | class DavResourceFactory : public Sink::ResourceFactory |