Interface Account.Interface.Storage.DRAFT

Interface Index (Compact) | Summary | Description | Properties | Types

Properties

StorageProvider s Read only
StorageIdentifier v Read only
StorageSpecificInformation a{sv} Read only
StorageRestrictions u (Storage_Restriction_Flags) Read only

Types

Storage_Restriction_Flags Flags u
WARNING: This interface is experimental and is likely to cause havoc to your API/ABI if bindings are generated. Do not include this interface in libraries that care about compatibility.
Added in 0.19.UNRELEASED.
Objects implementing this interface must also implement:

Description

This interface extends the core Account interface to specify details regarding the storage of this account.

Single-sign-on systems do not generally have directly user-editable properties for Accounts, and require the user to visit a specific UI to alter their account properties. User interfaces should know not to expose these account properties as user-editable, and instead redirect the user to the appropriate interface.

Properties

Accessed using the org.freedesktop.DBus.Properties interface.
(Permalink)

StorageProvider — s

Read only

The name of the account storage implementation, which SHOULD start with a reversed domain name in the same way as D-Bus interface names. When this is the empty string the account is internally stored.

This property cannot change once an Account has been created.

(Permalink)

StorageIdentifier — v

Read only

Unique identification of the account within the storage backend. The contents of the variant are defined by the StorageProvider.

This property cannot change once an Account has been created.

Different storage systems will have their own way of uniquely identifying an account, typically an integer or a string. Given that all users of this property should have direct knowledge of the backend they should know what types to expect and how to handle it.

(Permalink)

StorageSpecificInformation — a{sv}

Read only

Map containing information specific to the storage backend. The keys and the types of their values are defined by the StorageProvider, and are not interpreted by the AccountManager implementation.

Whether values in this map can change is defined by the StorageProvider. There is no change notification, so the property must be re-retrieved using Get or GetAll if an up to date value is needed.

This can be used to provide additional hints to user interfaces aware of a specific storage provider, without requiring those user interfaces to use the StorageIdentifier to query the storage provider directly.

(Permalink)

StorageRestrictions — u (Storage_Restriction_Flags)

Read only

Bitfield which defines what restrictions this Storage method has.

This property cannot change once an Account has been created.

Types

Flags (Permalink)

Storage_Restriction_Flags — u

  • Cannot_Set_Parameters (1)
  • The account parameters can't be changed via Telepathy.
  • Cannot_Set_Enabled (2)
  • The account can't be enabled/disabled via Telepathy.
  • Cannot_Set_Presence (4)
  • Presence can't be changed via Telepathy.