~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/authserver/xmlrpc.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-22 12:53:37 UTC
  • mfrom: (14578.3.1 authserver-services)
  • Revision ID: launchpad@pqm.canonical.com-20111222125337-lwqaq9fzzhmx2so2
[r=wgrant][no-qa] Move the authserver to lp.services.authserver.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
__metaclass__ = type
7
7
 
8
8
__all__ = [
 
9
    'AuthServerApplication',
9
10
    'AuthServerAPIView',
10
11
    ]
11
12
 
12
13
from zope.component import getUtility
13
14
from zope.interface import implements
14
15
 
15
 
from canonical.launchpad.interfaces.authserver import IAuthServer
16
16
from canonical.launchpad.webapp import LaunchpadXMLRPCView
17
17
from canonical.launchpad.xmlrpc import faults
18
18
from lp.registry.interfaces.person import IPersonSet
 
19
from lp.services.authserver.interfaces import (
 
20
    IAuthServer,
 
21
    IAuthServerApplication,
 
22
    )
19
23
 
20
24
 
21
25
class AuthServerAPIView(LaunchpadXMLRPCView):
35
39
                     for key in person.sshkeys],
36
40
            }
37
41
 
 
42
 
 
43
class AuthServerApplication:
 
44
    """AuthServer End-Point."""
 
45
    implements(IAuthServerApplication)
 
46
 
 
47
    title = "Auth Server"
 
48
 
 
49