/usr/share/accounts/providers/fake-oauth1.provider is in uoa-integration-tests 0.1+13.10.20131003.1-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | <?xml version="1.0" encoding="UTF-8"?>
<provider id="fake-oauth1">
<name>FakeOAuthOne</name>
<icon>fake-oauth</icon>
<translations>account-plugins</translations>
<domains>.*example\.com</domains>
<plugin>generic-oauth</plugin>
<template>
<group name="auth">
<setting name="method">oauth2</setting>
<setting name="mechanism">HMAC-SHA1</setting>
<group name="oauth2">
<group name="HMAC-SHA1">
<setting name="RequestEndpoint">http://localhost:5121/oauth1/request_token</setting>
<setting name="TokenEndpoint">http://localhost:5121/oauth1/access_token</setting>
<setting name="AuthorizationEndpoint">http://localhost:5121/oauth1/authorize</setting>
<setting name="Callback">http://localhost:5121/success.html</setting>
<setting name="ConsumerKey">C0nsum3rKey</setting>
<setting name="ConsumerSecret">C0nsum3rS3cr3t</setting>
<setting type="as" name="AllowedSchemes">['http']</setting>
</group>
</group>
</group>
</template>
</provider>
|