From e94829fd5ec3a23ffeda13cd56ec14d5b2eceb3d Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Fri, 11 Dec 2009 21:57:59 +0000 Subject: Support for collection aliases. The collection aliases are present under: /org/freedesktop/secrets/aliases/xxxx So the default and network collections would be usable via the object path, in addition to their normal object paths: /org/freedesktop/secrets/aliases/default /org/freedesktop/secrets/aliases/network To manage the aliases, two new methods are added to the Service interface: ReadAlias() and SetAlias(). BTW, These are not properties on Collection because a collection can be have multiple aliases pointing to it. --- secret-service/org.freedesktop.Secrets.xml | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) (limited to 'secret-service/org.freedesktop.Secrets.xml') diff --git a/secret-service/org.freedesktop.Secrets.xml b/secret-service/org.freedesktop.Secrets.xml index a681d79..73c275b 100644 --- a/secret-service/org.freedesktop.Secrets.xml +++ b/secret-service/org.freedesktop.Secrets.xml @@ -83,12 +83,6 @@ The object paths of all collections (ie: keyrings) - - - The object path of the default collection, or an empty string if no collections exist. - - - Open a unique session for the caller application. @@ -170,6 +164,26 @@ + + Get the collection with the given alias. + + An alias, such as 'default'. + + + The collection or the the path '/' if no such collection exists. + + + + + Setup a collection alias. + + An alias, such as 'default'. + + + The collection. + + + A collection was created. -- cgit v1.2.3-70-g09d2