summaryrefslogtreecommitdiffstats
path: root/samples/OAuthConsumer/Web.config
diff options
context:
space:
mode:
Diffstat (limited to 'samples/OAuthConsumer/Web.config')
-rw-r--r--samples/OAuthConsumer/Web.config20
1 files changed, 16 insertions, 4 deletions
diff --git a/samples/OAuthConsumer/Web.config b/samples/OAuthConsumer/Web.config
index 7d7f6aa..fc4c7dc 100644
--- a/samples/OAuthConsumer/Web.config
+++ b/samples/OAuthConsumer/Web.config
@@ -14,8 +14,22 @@
</sectionGroup>
</sectionGroup>
</configSections>
- <appSettings/>
+ <appSettings>
+ <!-- Fill in your various consumer keys and secrets here to make the sample work. -->
+ <!-- You must get these values by signing up with each individual service provider. -->
+ <!-- Twitter sign-up: https://twitter.com/oauth_clients -->
+ <add key="twitterConsumerKey" value="" />
+ <add key="twitterConsumerSecret" value="" />
+ <!-- Google sign-up: https://www.google.com/accounts/ManageDomains -->
+ <add key="googleConsumerKey" value=""/>
+ <add key="googleConsumerSecret" value=""/>
+ </appSettings>
<connectionStrings/>
+
+ <system.net>
+ <defaultProxy enabled="true" />
+ </system.net>
+
<system.web>
<!--
Set compilation debug="true" to insert debugging
@@ -141,9 +155,7 @@
enabled="false" />
<security mode="Message">
<transport clientCredentialType="Windows" proxyCredentialType="None"
- realm="">
- <extendedProtectionPolicy policyEnforcement="Never" />
- </transport>
+ realm=""/>
<message clientCredentialType="Windows" negotiateServiceCredential="true"
algorithmSuite="Default" establishSecurityContext="true" />
</security>