summaryrefslogtreecommitdiff
path: root/spec/Account_Interface_External_Password_Storage.xml
blob: 5bd1bfce090816fffbbbae59247f2356da04a791 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?xml version="1.0" ?>
<node name="/Account_Interface_External_Password_Storage"
  xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">

  <tp:copyright>Copyright © 2011 Collabora Ltd.</tp:copyright>
  <tp:license xmlns="http://www.w3.org/1999/xhtml">
    <p>This library is free software; you can redistribute it and/or
      modify it under the terms of the GNU Lesser General Public
      License as published by the Free Software Foundation; either
      version 2.1 of the License, or (at your option) any later version.</p>

    <p>This library is distributed in the hope that it will be useful,
      but WITHOUT ANY WARRANTY; without even the implied warranty of
      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
      Lesser General Public License for more details.</p>

    <p>You should have received a copy of the GNU Lesser General Public
      License along with this library; if not, write to the Free Software
      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
      02110-1301, USA.</p>
  </tp:license>

  <interface name="org.freedesktop.Telepathy.Account.Interface.ExternalPasswordStorage.DRAFT"
    tp:causes-havoc="experimental">
    <tp:added version="0.21.10">(draft 1)</tp:added>
    <tp:requires interface="org.freedesktop.Telepathy.Account"/>

    <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
      <p>An interface for Accounts whose passwords are stored externally and
        SHOULD NOT be stored by either the
        <tp:dbus-ref namespace="ofdT">AccountManager</tp:dbus-ref> nor any
        <tp:dbus-ref namespace="ofdT.Channel.Type">ServerAuthentication</tp:dbus-ref>
        handler.</p>

      <p>This interface SHOULD only appear on accounts for which the
        related Connection Manager implements
        <tp:dbus-ref namespace="ofdT">ConnectionManager.Interface.AccountStorage.DRAFT</tp:dbus-ref>.</p>
    </tp:docstring>

    <method name="ForgetPassword" tp:name-for-bindings="Forget_Password">
      <tp:docstring>
        Clears any saved password associated with this account.
      </tp:docstring>
    </method>

    <property name="PasswordSaved"
      tp:name-for-bindings="Password_Saved"
      type="b" access="read">
      <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
        <p>Indicates whether the account has a saved password or not.</p>

        <p>Change notification for this property is provided by the
          standard D-Bus <code>PropertiesChanged</code> signal.</p>
      </tp:docstring>
    </property>

  </interface>
</node>