diff options
-rw-r--r-- | samples/OAuthConsumer/SampleWcf.aspx.cs | 2 | ||||
-rw-r--r-- | samples/OAuthConsumer/Web.config | 25 |
2 files changed, 1 insertions, 26 deletions
diff --git a/samples/OAuthConsumer/SampleWcf.aspx.cs b/samples/OAuthConsumer/SampleWcf.aspx.cs index db58cea..e733970 100644 --- a/samples/OAuthConsumer/SampleWcf.aspx.cs +++ b/samples/OAuthConsumer/SampleWcf.aspx.cs @@ -98,7 +98,7 @@ public partial class SampleWcf : System.Web.UI.Page { Session["WcfTokenManager"] = tokenManager; } MessageReceivingEndpoint oauthEndpoint = new MessageReceivingEndpoint( - new Uri("http://localhost:65169/ServiceProvider/OAuth.ashx"), + new Uri("http://localhost:65169/OAuthServiceProvider/OAuth.ashx"), HttpDeliveryMethods.PostRequest); WebConsumer consumer = new WebConsumer( new ServiceProviderDescription { diff --git a/samples/OAuthConsumer/Web.config b/samples/OAuthConsumer/Web.config index 60efcee..7d7f6aa 100644 --- a/samples/OAuthConsumer/Web.config +++ b/samples/OAuthConsumer/Web.config @@ -148,24 +148,6 @@ algorithmSuite="Default" establishSecurityContext="true" /> </security> </binding> - <binding name="WSHttpBinding_IDataApi1" closeTimeout="00:01:00" - openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" - bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" - maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text" - textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false"> - <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" - maxBytesPerRead="4096" maxNameTableCharCount="16384" /> - <reliableSession ordered="true" inactivityTimeout="00:10:00" - enabled="false" /> - <security mode="Message"> - <transport clientCredentialType="Windows" proxyCredentialType="None" - realm=""> - <extendedProtectionPolicy policyEnforcement="Never" /> - </transport> - <message clientCredentialType="Windows" negotiateServiceCredential="true" - algorithmSuite="Default" establishSecurityContext="true" /> - </security> - </binding> </wsHttpBinding> </bindings> <client> @@ -176,13 +158,6 @@ <dns value="localhost" /> </identity> </endpoint> - <endpoint address="http://localhost:65169/OAuthServiceProvider/DataApi.svc" - binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IDataApi1" - contract="SampleServiceProvider.IDataApi" name="WSHttpBinding_IDataApi1"> - <identity> - <dns value="localhost" /> - </identity> - </endpoint> </client> </system.serviceModel> </configuration> |