Debian Codegraph @

data/org.freedesktop.impl.portal.Secret.xml

raw
1 <?xml version="1.0"?>
2 <!--
3 Copyright (C) 2019 Red Hat, Inc.
4
5 SPDX-License-Identifier: LGPL-2.1-or-later
6
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Lesser General Public
9 License as published by the Free Software Foundation; either
10 version 2.1 of the License, or (at your option) any later version.
11
12 This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Lesser General Public License for more details.
16
17 You should have received a copy of the GNU Lesser General Public
18 License along with this library. If not, see <http://www.gnu.org/licenses/>.
19
20 Author: Daiki Ueno <[email protected]>
21 -->
22
23 <node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
24 <!--
25 org.freedesktop.impl.portal.Secret:
26 @short_description: Secret portal backend interface
27
28 The Secret portal allows sandboxed applications to retrieve a
29 per-application master secret.
30 -->
31 <interface name="org.freedesktop.impl.portal.Secret">
32
33 <!--
34 RetrieveSecret:
35 @handle: Object path for the :ref:`org.freedesktop.impl.portal.Request` object representing this call
36 @app_id: App id of the application
37 @fd: Writable file descriptor for transporting the secret
38 @options: Vardict with optional further information
39 @response: Numeric response
40 @results: Vardict with the results of the call
41
42 Retrieves a master secret for a sandboxed application.
43
44 Supported keys in the @options vardict include:
45
46 * ``token`` (``s``)
47
48 An opaque string associated with the retrieve secret.
49 -->
50 <method name="RetrieveSecret">
51 <annotation name="org.gtk.GDBus.C.Name" value="retrieve_secret"/>
52 <annotation name="org.gtk.GDBus.C.UnixFD" value="true"/>
53 <arg type="o" name="handle" direction="in"/>
54 <arg type="s" name="app_id" direction="in"/>
55 <arg type="h" name="fd" direction="in"/>
56 <annotation name="org.qtproject.QtDBus.QtTypeName.In3" value="QVariantMap"/>
57 <arg type="a{sv}" name="options" direction="in"/>
58 <arg type="u" name="response" direction="out"/>
59 <annotation name="org.qtproject.QtDBus.QtTypeName.Out1" value="QVariantMap"/>
60 <arg type="a{sv}" name="results" direction="out"/>
61 </method>
62 <property name="version" type="u" access="read"/>
63 </interface>
64 </node>