~ubuntu-branches/ubuntu/precise/telepathy-mission-control-5/precise

« back to all changes in this revision

Viewing changes to xml/Account_Manager_Interface_SSO.xml

Tags: upstream-5.5.2
Import upstream version 5.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<node name="/Account_Manager_Interface_SSO"
 
3
      xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
 
4
  <tp:copyright>Copyright © 2010 Nokia Corporation</tp:copyright>
 
5
  <tp:copyright>Copyright © 2010 Collabora Ltd</tp:copyright>
 
6
  <tp:license xmlns="http://www.w3.org/1999/xhtml">
 
7
    <p>
 
8
      This library is free software; you can redistribute it and/or
 
9
      modify it under the terms of the GNU Lesser General Public
 
10
      License as published by the Free Software Foundation; either
 
11
      version 2.1 of the License, or (at your option) any later version.
 
12
    </p>
 
13
    <p>
 
14
      This library is distributed in the hope that it will be useful,
 
15
      but WITHOUT ANY WARRANTY; without even the implied warranty of
 
16
      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
17
      Lesser General Public License for more details.
 
18
    </p>
 
19
    <p>
 
20
      You should have received a copy of the GNU Lesser General Public License
 
21
      along with this library; if not, write to the Free Software Foundation,
 
22
      Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
23
    </p>
 
24
  </tp:license>
 
25
 
 
26
  <interface name="com.nokia.Telepathy.AccountManager.Interface.SSO">
 
27
    <tp:requires interface="org.freedesktop.Telepathy.AccountManager"/>
 
28
    <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
 
29
      <p>
 
30
        The Sso interface provides methods to list Maemo SSO accounts
 
31
        and find accounts by their Maemo SSO ID.
 
32
      </p>
 
33
    </tp:docstring>
 
34
 
 
35
    <method name="GetServiceAccounts"
 
36
            tp:name-for-bindings="Get_Service_Accounts">
 
37
      <tp:docstring xmlns="http://www.w3c.org/1999/xhtml">
 
38
        <p>List all accounts which match the service parameter</p>
 
39
      </tp:docstring>
 
40
 
 
41
      <arg direction="in" name="Service" type="s">
 
42
        <tp:docstring>
 
43
          <p>The name of the SSO service which this account should match</p>
 
44
        </tp:docstring>
 
45
      </arg>
 
46
 
 
47
      <arg direction="out" name="Accounts" type="ao">
 
48
        <tp:docstring>A list of accounts which match the service</tp:docstring>
 
49
      </arg>
 
50
    </method>
 
51
 
 
52
    <method name="GetAccount" tp:name-for-bindings="Get_Account">
 
53
      <tp:docstring xmlns="http://www.w3c.org/1999/xhtml">
 
54
        <p>Find an account by its SSO ID</p>
 
55
      </tp:docstring>
 
56
 
 
57
      <arg direction="in" name="ID" type="u">
 
58
        <tp:docstring><p>SSO Account ID</p></tp:docstring>
 
59
      </arg>
 
60
 
 
61
      <arg direction="out" name="Account" type="o">
 
62
        <tp:docstring>The account that matches the service</tp:docstring>
 
63
      </arg>
 
64
 
 
65
      <tp:possible-errors>
 
66
        <tp:error name="org.freedesktop.Telepathy.Error.DoesNotExist">
 
67
          <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
 
68
            <p>The supplied SSO ID does not correspond to a known account</p>
 
69
          </tp:docstring>
 
70
        </tp:error>
 
71
      </tp:possible-errors>
 
72
    </method>
 
73
 
 
74
  </interface>
 
75
</node>
 
76