~danielholm/account-plugin-owncloud/account-plugin-owncloud

« back to all changes in this revision

Viewing changes to data/fake-oauth1.provider

  • Committer: Tarmac
  • Author(s): Alberto Mardegan
  • Date: 2013-09-27 12:35:20 UTC
  • mfrom: (9.1.2 touch)
  • Revision ID: tarmac-20130927123520-uqybket1my1y2las
Add QML plugin.

Approved by David Barth, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<provider id="fake-oauth1">
 
3
  <name>FakeOAuthOne</name>
 
4
  <icon>fake-oauth</icon>
 
5
  <translations>account-plugins</translations>
 
6
  <domains>.*example\.com</domains>
 
7
  <plugin>generic-oauth</plugin>
 
8
 
 
9
  <template>
 
10
    <group name="auth">
 
11
      <setting name="method">oauth2</setting>
 
12
      <setting name="mechanism">HMAC-SHA1</setting>
 
13
      <group name="oauth2">
 
14
        <group name="HMAC-SHA1">
 
15
                                        <setting name="RequestEndpoint">http://localhost:5121/oauth1/request_token</setting>
 
16
                                        <setting name="TokenEndpoint">http://localhost:5121/oauth1/access_token</setting>
 
17
                                        <setting name="AuthorizationEndpoint">http://localhost:5121/oauth1/authorize</setting>
 
18
                                        <setting name="Callback">http://localhost:5121/success.html</setting>
 
19
          <setting name="ConsumerKey">C0nsum3rKey</setting>
 
20
          <setting name="ConsumerSecret">C0nsum3rS3cr3t</setting>
 
21
          <setting type="as" name="AllowedSchemes">['http']</setting>
 
22
        </group>
 
23
      </group>
 
24
    </group>
 
25
  </template>
 
26
</provider>