[Authentication] Updated API

Stef Walter stef-list at memberwebs.com
Wed Jul 15 19:19:25 PDT 2009


I've updated the API lost of suggested changes. The following need more
hashing out:

 * Shorter object paths?
 * Adding properties for each well-known type of collection?
 * Filling in more crypto details (needs implementation)

I don't think we should finalize any of the API until there is at least
one complete implementation. That may be in gnome-keyring 2.30...

Cheers,

Stef


commit d4ca6d4f828a914d0e2070877c01b1523e46ba62
Author: Stefan Walter <Stefan Walter>
Date:   Thu Jul 16 01:35:11 2009 +0000

    Make object paths static for the lifetime of an object.

    Suggestion from Michael Leupold.

commit 843a2825c648b4680f50392311199289b94dd2f9
Author: Stefan Walter <Stefan Walter>
Date:   Thu Jul 16 01:31:19 2009 +0000

    Rename 'results' arg of SearchItems to 'unlocked'

    Suggestion by Michael Leupold.

commit a12ed7e56b0dddb5e84105c78ec062b1abe8ff58
Author: Stefan Walter <Stefan Walter>
Date:   Thu Jul 16 01:30:49 2009 +0000

    Use a dict to return secrets from RetrieveSecrets.

commit 4d76282c1007fc10e210cce3fc34b0c0acea8a93
Author: Stefan Walter <Stefan Walter>
Date:   Thu Jul 16 00:59:30 2009 +0000

    Add more documentation of algorithms.

commit 0aa4918aff004429ac5459cd255bc9bb650b8eef
Author: Stefan Walter <Stefan Walter>
Date:   Thu Jul 16 00:52:36 2009 +0000

    Add 'complete' argument to Negotiate method.

commit 2adf4a1b8f8b919c7662092ea34ca87cc4bb2864
Author: Stefan Walter <Stefan Walter>
Date:   Thu Jul 16 00:47:48 2009 +0000

    Rename SearchCollections method to SearchItems.

    As suggested by Guillaume Martres.^X

commit 9a407e1850aec391868a9d6d7e23045e5827a44f
Author: Stefan Walter <Stefan Walter>
Date:   Thu Jul 16 00:45:51 2009 +0000

    Consistently use term fields instead of attributes.

    As suggested by Guillaume Martres.

commit 49fa9ac1c0e2be35f66c565c7d21882259db29e6
Author: Stefan Walter <Stefan Walter>
Date:   Thu Jul 16 00:42:33 2009 +0000

    Add org.freedesktop.Secrets.Error.NoSession error.

    As suggested by Michael Leupold. Used when an action requires a session
    but the client application has not opened one.

commit 3135e3e3f0242c10e16b839440a72c8947c97c71
Author: Stefan Walter <Stefan Walter>
Date:   Thu Jul 16 00:39:32 2009 +0000

    Rename ItemCreated, ItemDeleted, and move ItemChanged.

    Change CreatedItem signal to ItemCreated and DeletedItem to ItemDeleted,
    as suggested by Kevin Krammer.

    Also move 'changed' signal from Item interface to ItemChanged on
    Collection interface. If people want to monitor properties of an
    individual item they can do so with the standard dbus properties
    api. ItemChanged is useful for monitoring changes in a whole
    collection (in a GUI for example).



More information about the Authentication mailing list