User Wallet PlugIn

From LinuxMCE
Revision as of 04:50, 20 May 2010 by Tschak909 (Talk | contribs) (added some more scribbles.)

(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

We are increasingly creating more and more devices that interface with Internet content. These Internet media frequently need access to user specific information, including but not limited to:

  • User Name
  • Email Address
  • Password

The idea, very simply, is to have any plugins which wish to store data, simply register themselves with the plugin, and therefore have access to a couple of public functions:

  • void StoreKey(string sKeyName, sKeyValue)
  • string RetrieveKey(string sKeyName)

As implied by the above API, both key names and their values are simply C++ strings.

Two Domains:

  • User - Keys in here are stored per-user
  • Device - Keys in here are stored per-device