Methods
ForgetCredentials | (s: Account_Id) | → | nothing | |
RemoveAccount | (s: Account_Id) | → | nothing |
Properties
Accounts | a{su} (Account_Flags_Map) | Read only |
Types
Account_Flags | Flags | u | |
Account_Flags_Map | Mapping | a{su} |
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.21.10. (draft 1)
Objects implementing this interface must also implement:
Description
An interface for connection managers that store account details internally. At the moment this consists only of storing an account's credentials, but other functionality may be added in the future.
Account objects representing accounts on a connection manager that implements this interface should implement the ExternalPasswordStorage.DRAFT interface.
Methods
(Permalink)
ForgetCredentials (s: Account_Id) → nothing
Parameters
- Account_Id — s
An account id as returned from
Protocol.IdentifyAccount.
Clears any saved credentials associated with the specified Account_Id.
Any other saved data related to the account will be unaffected.
Possible Errors
- Invalid Argument
The account id is invalid.
(Permalink)
RemoveAccount (s: Account_Id) → nothing
Parameters
- Account_Id — s
An account id as returned from
Protocol.IdentifyAccount.
Completely removes all data associated with an account from the
connection manager's internal storage.
Possible Errors
- Invalid Argument
The account id is invalid.
Properties
Accessed using the org.freedesktop.DBus.Properties
interface.
(Permalink)
Accounts — a{su} (Account_Flags_Map)
Read only
The set of Accounts stored in this Connection Manager, and flags indicating their status.
Change notification for this property is provided by the standard
D-Bus PropertiesChanged
signal.
Types
Flags (Permalink)
Account_Flags — u
A set of flags representing the status of the Account stored in the
Connection Manager.
- Credentials_Stored (1)
The associated account has its authentication credentials (password)
stored in the connection manager
Mapping (Permalink)
Account_Flags_Map — a{su}
A mapping from Account_Ids to account flags.
- Account_Id — s
- Flags — u (Account_Flags)