~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/oauth/browser/configure.zcml

  • Committer: William Grant
  • Date: 2011-12-08 05:48:32 UTC
  • mto: (14455.3.1 more-canonical-purge)
  • mto: This revision was merged to the branch mainline in revision 14456.
  • Revision ID: william.grant@canonical.com-20111208054832-fxhymgnrekd6s5ri
Move zcml and template.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!-- Copyright 2009-2011 Canonical Ltd.  This software is licensed under the
 
2
     GNU Affero General Public License version 3 (see the file LICENSE).
 
3
-->
 
4
 
 
5
<configure
 
6
  xmlns="http://namespaces.zope.org/zope"
 
7
  xmlns:browser="http://namespaces.zope.org/browser"
 
8
  xmlns:xmlrpc="http://namespaces.zope.org/xmlrpc"
 
9
  i18n_domain="canonical.launchpad">
 
10
  <facet facet="overview">
 
11
    <browser:page
 
12
        for="canonical.launchpad.webapp.interfaces.ILaunchpadApplication"
 
13
        name="+request-token"
 
14
        class="lp.services.oauth.browser.OAuthRequestTokenView"
 
15
        permission="zope.Public" />
 
16
 
 
17
    <browser:page
 
18
        for="canonical.launchpad.webapp.interfaces.ILaunchpadApplication"
 
19
        name="+authorize-token"
 
20
        class="lp.services.oauth.browser.OAuthAuthorizeTokenView"
 
21
        template="../templates/oauth-authorize.pt"
 
22
        permission="launchpad.AnyPerson" />
 
23
 
 
24
    <browser:page
 
25
        for="canonical.launchpad.webapp.interfaces.ILaunchpadApplication"
 
26
        name="+access-token"
 
27
        class="lp.services.oauth.browser.OAuthAccessTokenView"
 
28
        permission="zope.Public" />
 
29
  </facet>
 
30
</configure>