| 1 | <node> |
| 2 | <!-- |
| 3 | com.lomiri.OnlineAccountsUi: |
| 4 | @short_description: interface for requesting access to Online Accounts. |
| 5 | |
| 6 | This is a private D-Bus API, not to be used directly by applications; |
| 7 | applications should use the Lomiri.OnlineAccounts.Client QML module or the |
| 8 | OnlineAccountsClient Qt library from C++. |
| 9 | |
| 10 | It serves to let applications request access to the online accounts they |
| 11 | intend to use. |
| 12 | --> |
| 13 | <interface name="com.lomiri.OnlineAccountsUi"> |
| 14 | <!-- |
| 15 | requestAccess: |
| 16 | @options: dictionary of option parameters. |
| 17 | @result: dictionary of result information. |
| 18 | |
| 19 | Requests access to the online accounts identified by the @options parameter. |
| 20 | |
| 21 | The parameters currently recognized for the @options argument are: |
| 22 | - provider: unique ID of the account provider |
| 23 | - application: application ID (as defined in the Online Accounts |
| 24 | .application file) |
| 25 | - serviceType: service type the application is interested in |
| 26 | - windowId: an unsigned integer identifying the client window |
| 27 | |
| 28 | The @result argument is currently unused. |
| 29 | --> |
| 30 | <method name="requestAccess"> |
| 31 | <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QVariantMap"/> |
| 32 | <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QVariantMap"/> |
| 33 | <arg name="options" type="a{sv}" direction="in"/> |
| 34 | <arg name="result" type="a{sv}" direction="out"/> |
| 35 | </method> |
| 36 | </interface> |
| 37 | </node> |