<?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>
