1
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
2
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
4
<node name="/com/ubuntu/OnlineAccounts/Manager">
5
<interface name="com.ubuntu.OnlineAccounts.Manager">
8
GetAccounts: returns a list of account IDs that provide the
11
<method name="GetAccounts">
12
<arg name="service_id" type="s" direction="in" />
13
<arg name="accounts" type="au" direction="out"/>
14
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0"
15
value="QList<uint>"/>
19
GetAccountInfo: return information about a given account ID
21
<method name="GetAccountInfo">
22
<arg name="service_id" type="s" direction="in" />
23
<arg name="account_id" type="u" direction="in" />
24
<arg name="details" type="a{sv}" direction="out" />
25
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QVariantMap"/>
29
Authenticate: request authentication credentials for the given
30
account ID in the context of a particualr service.
32
If "interactive" is false, an error will be returned if
33
user interaction would be required to retrieve the
36
If "invalidate" is true, any stored credentials will be
37
ignored and new credentials will be requested from the account
40
The result or error will be delivered over the socket provided
43
<method name="Authenticate">
44
<arg name="service_id" type="s" direction="in" />
45
<arg name="account_id" type="u" direction="in" />
46
<arg name="interactive" type="b" direction="in" />
47
<arg name="invalidate" type="b" direction="in" />
48
<!-- <arg name="reply_socket" type="h" direction="in" /> -->
49
<arg name="credentials" type="a{sv}" direction="out" />
50
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QVariantMap"/>
54
Register: register a new account for use with the given
57
The result or error will be delivered over the socket provided
60
<method name="Register">
61
<arg name="service_id" type="s" direction="in" />
62
<!-- <arg name="reply_socket" type="h" direction="in" /> -->
63
<arg name="account_id" type="u" direction="out" />
64
<arg name="details" type="a{sv}" direction="out" />
65
<annotation name="org.qtproject.QtDBus.QtTypeName.Out1" value="QVariantMap"/>
66
<arg name="credentials" type="a{sv}" direction="out" />
67
<annotation name="org.qtproject.QtDBus.QtTypeName.Out2" value="QVariantMap"/>
71
AccountChanged: emitted when account details are changed.
73
This signal will be emitted when new accounts are enabled, and
74
when existing accounts are disabled. Clients can detect these
75
cases by checking the "enabled" flag and comparing the account
76
ID with the list of accounts they currently know about.
78
The actual changed account details can be retrieved with
81
<signal name="AccountChanged">
82
<arg name="service_id" type="s" />
83
<arg name="account_id" type="u" />
84
<arg name="enabled" type="b" />
88
CredentialsChanged: emitted when the credentials for the given
89
service ID on the given account change.
91
The new credentials can be retrieved with Authenticate().
93
<signal name="CredentialsChanged">
94
<arg name="service_id" type="s" />
95
<arg name="account_id" type="u" />