summaryrefslogtreecommitdiffstats
path: root/samples/OAuthClient
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2012-03-30 20:44:12 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2012-03-30 20:44:12 -0700
commit3a1e83ee2dcf46841629ed13c198646550787b9c (patch)
tree30e70cb06d0a12a7f99a7c502a50bf24573aa77d /samples/OAuthClient
parent853245380127745a4d87682fabb5cae5a99fc254 (diff)
parente5b8e2e4bd925ef6967c264644e4d67749b5b3de (diff)
downloadDotNetOpenAuth-3a1e83ee2dcf46841629ed13c198646550787b9c.zip
DotNetOpenAuth-3a1e83ee2dcf46841629ed13c198646550787b9c.tar.gz
DotNetOpenAuth-3a1e83ee2dcf46841629ed13c198646550787b9c.tar.bz2
Merged v4.0
Diffstat (limited to 'samples/OAuthClient')
-rw-r--r--samples/OAuthClient/OAuthClient.csproj2
-rw-r--r--samples/OAuthClient/SampleWcf2Javascript.js2
-rw-r--r--samples/OAuthClient/Service References/SampleResourceServer/DataApi.disco2
-rw-r--r--samples/OAuthClient/Service References/SampleResourceServer/DataApi.wsdl10
-rw-r--r--samples/OAuthClient/Service References/SampleResourceServer/DataApi.xsd2
-rw-r--r--samples/OAuthClient/Service References/SampleResourceServer/Reference.svcmap12
-rw-r--r--samples/OAuthClient/Service References/SampleResourceServer/configuration.svcinfo2
-rw-r--r--samples/OAuthClient/Service References/SampleResourceServer/configuration91.svcinfo4
-rw-r--r--samples/OAuthClient/Web.config2
-rw-r--r--samples/OAuthClient/WindowsLive.aspx4
10 files changed, 21 insertions, 21 deletions
diff --git a/samples/OAuthClient/OAuthClient.csproj b/samples/OAuthClient/OAuthClient.csproj
index 65af47d..4498bb6 100644
--- a/samples/OAuthClient/OAuthClient.csproj
+++ b/samples/OAuthClient/OAuthClient.csproj
@@ -236,7 +236,7 @@
<WebProjectProperties>
<UseIIS>False</UseIIS>
<AutoAssignPort>False</AutoAssignPort>
- <DevelopmentServerPort>59721</DevelopmentServerPort>
+ <DevelopmentServerPort>59722</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>
</IISUrl>
diff --git a/samples/OAuthClient/SampleWcf2Javascript.js b/samples/OAuthClient/SampleWcf2Javascript.js
index df72938..d894bb7 100644
--- a/samples/OAuthClient/SampleWcf2Javascript.js
+++ b/samples/OAuthClient/SampleWcf2Javascript.js
@@ -62,7 +62,7 @@ $(document).ready(function () {
function serviceCall(operation, accessToken, label) {
label.text('fetching...');
$.ajax({
- url: "http://localhost:65169" + encodeURI(operation),
+ url: "http://localhost:65170" + encodeURI(operation),
headers: {
"Authorization": "Bearer " + accessToken
},
diff --git a/samples/OAuthClient/Service References/SampleResourceServer/DataApi.disco b/samples/OAuthClient/Service References/SampleResourceServer/DataApi.disco
index f8d5e5b..b9abb7e 100644
--- a/samples/OAuthClient/Service References/SampleResourceServer/DataApi.disco
+++ b/samples/OAuthClient/Service References/SampleResourceServer/DataApi.disco
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/">
- <contractRef ref="http://localhost:65169/DataApi.svc?wsdl" docRef="http://localhost:65169/DataApi.svc" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
+ <contractRef ref="http://localhost:65170/DataApi.svc?wsdl" docRef="http://localhost:65170/DataApi.svc" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
</discovery> \ No newline at end of file
diff --git a/samples/OAuthClient/Service References/SampleResourceServer/DataApi.wsdl b/samples/OAuthClient/Service References/SampleResourceServer/DataApi.wsdl
index 702762a..2e4f627 100644
--- a/samples/OAuthClient/Service References/SampleResourceServer/DataApi.wsdl
+++ b/samples/OAuthClient/Service References/SampleResourceServer/DataApi.wsdl
@@ -222,9 +222,9 @@
</wsp:Policy>
<wsdl:types>
<xsd:schema targetNamespace="http://tempuri.org/Imports">
- <xsd:import schemaLocation="http://localhost:65169/DataApi.svc?xsd=xsd0" namespace="http://tempuri.org/" />
- <xsd:import schemaLocation="http://localhost:65169/DataApi.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
- <xsd:import schemaLocation="http://localhost:65169/DataApi.svc?xsd=xsd2" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
+ <xsd:import schemaLocation="http://localhost:65170/DataApi.svc?xsd=xsd0" namespace="http://tempuri.org/" />
+ <xsd:import schemaLocation="http://localhost:65170/DataApi.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
+ <xsd:import schemaLocation="http://localhost:65170/DataApi.svc?xsd=xsd2" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
</xsd:schema>
</wsdl:types>
<wsdl:message name="IDataApi_GetAge_InputMessage">
@@ -298,9 +298,9 @@
</wsdl:binding>
<wsdl:service name="DataApi">
<wsdl:port name="WSHttpBinding_IDataApi" binding="tns:WSHttpBinding_IDataApi">
- <soap12:address location="http://localhost:65169/DataApi.svc" />
+ <soap12:address location="http://localhost:65170/DataApi.svc" />
<wsa10:EndpointReference>
- <wsa10:Address>http://localhost:65169/DataApi.svc</wsa10:Address>
+ <wsa10:Address>http://localhost:65170/DataApi.svc</wsa10:Address>
<Identity xmlns="http://schemas.xmlsoap.org/ws/2006/02/addressingidentity">
<Dns>localhost</Dns>
</Identity>
diff --git a/samples/OAuthClient/Service References/SampleResourceServer/DataApi.xsd b/samples/OAuthClient/Service References/SampleResourceServer/DataApi.xsd
index 3109534..1702fde 100644
--- a/samples/OAuthClient/Service References/SampleResourceServer/DataApi.xsd
+++ b/samples/OAuthClient/Service References/SampleResourceServer/DataApi.xsd
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:import schemaLocation="http://localhost:65169/DataApi.svc?xsd=xsd2" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
+ <xs:import schemaLocation="http://localhost:65170/DataApi.svc?xsd=xsd2" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<xs:element name="GetAge">
<xs:complexType>
<xs:sequence />
diff --git a/samples/OAuthClient/Service References/SampleResourceServer/Reference.svcmap b/samples/OAuthClient/Service References/SampleResourceServer/Reference.svcmap
index 4463f99..4706963 100644
--- a/samples/OAuthClient/Service References/SampleResourceServer/Reference.svcmap
+++ b/samples/OAuthClient/Service References/SampleResourceServer/Reference.svcmap
@@ -18,14 +18,14 @@
<ServiceContractMappings />
</ClientOptions>
<MetadataSources>
- <MetadataSource Address="http://localhost:65169/DataApi.svc" Protocol="http" SourceId="1" />
+ <MetadataSource Address="http://localhost:65170/DataApi.svc" Protocol="http" SourceId="1" />
</MetadataSources>
<Metadata>
- <MetadataFile FileName="DataApi.xsd" MetadataType="Schema" ID="82a34da8-d721-4c35-aaf9-fc5d08771cd2" SourceId="1" SourceUrl="http://localhost:65169/DataApi.svc?xsd=xsd0" />
- <MetadataFile FileName="DataApi.wsdl" MetadataType="Wsdl" ID="96350220-1df2-429e-8cb5-4fc33703bcc7" SourceId="1" SourceUrl="http://localhost:65169/DataApi.svc?wsdl" />
- <MetadataFile FileName="DataApi.disco" MetadataType="Disco" ID="c4f66dee-ac01-4476-afb0-34f7350c06ad" SourceId="1" SourceUrl="http://localhost:65169/DataApi.svc?disco" />
- <MetadataFile FileName="DataApi1.xsd" MetadataType="Schema" ID="7aaf262f-6342-421b-8f44-0e624be7a5fb" SourceId="1" SourceUrl="http://localhost:65169/DataApi.svc?xsd=xsd1" />
- <MetadataFile FileName="DataApi2.xsd" MetadataType="Schema" ID="67c1ea8d-12c4-4a0c-aa33-7226018cf16e" SourceId="1" SourceUrl="http://localhost:65169/DataApi.svc?xsd=xsd2" />
+ <MetadataFile FileName="DataApi.xsd" MetadataType="Schema" ID="82a34da8-d721-4c35-aaf9-fc5d08771cd2" SourceId="1" SourceUrl="http://localhost:65170/DataApi.svc?xsd=xsd0" />
+ <MetadataFile FileName="DataApi.wsdl" MetadataType="Wsdl" ID="96350220-1df2-429e-8cb5-4fc33703bcc7" SourceId="1" SourceUrl="http://localhost:65170/DataApi.svc?wsdl" />
+ <MetadataFile FileName="DataApi.disco" MetadataType="Disco" ID="c4f66dee-ac01-4476-afb0-34f7350c06ad" SourceId="1" SourceUrl="http://localhost:65170/DataApi.svc?disco" />
+ <MetadataFile FileName="DataApi1.xsd" MetadataType="Schema" ID="7aaf262f-6342-421b-8f44-0e624be7a5fb" SourceId="1" SourceUrl="http://localhost:65170/DataApi.svc?xsd=xsd1" />
+ <MetadataFile FileName="DataApi2.xsd" MetadataType="Schema" ID="67c1ea8d-12c4-4a0c-aa33-7226018cf16e" SourceId="1" SourceUrl="http://localhost:65170/DataApi.svc?xsd=xsd2" />
</Metadata>
<Extensions>
<ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" />
diff --git a/samples/OAuthClient/Service References/SampleResourceServer/configuration.svcinfo b/samples/OAuthClient/Service References/SampleResourceServer/configuration.svcinfo
index c21c2f6..6771e14 100644
--- a/samples/OAuthClient/Service References/SampleResourceServer/configuration.svcinfo
+++ b/samples/OAuthClient/Service References/SampleResourceServer/configuration.svcinfo
@@ -5,6 +5,6 @@
<binding digest="System.ServiceModel.Configuration.WSHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data hostNameComparisonMode=&quot;StrongWildcard&quot; messageEncoding=&quot;Text&quot; name=&quot;WSHttpBinding_IDataApi&quot; textEncoding=&quot;utf-8&quot; transactionFlow=&quot;false&quot;&gt;&lt;readerQuotas maxArrayLength=&quot;16384&quot; maxBytesPerRead=&quot;4096&quot; maxDepth=&quot;32&quot; maxNameTableCharCount=&quot;16384&quot; maxStringContentLength=&quot;8192&quot; /&gt;&lt;reliableSession enabled=&quot;false&quot; inactivityTimeout=&quot;00:10:00&quot; ordered=&quot;true&quot; /&gt;&lt;security mode=&quot;Message&quot;&gt;&lt;message algorithmSuite=&quot;Default&quot; clientCredentialType=&quot;Windows&quot; negotiateServiceCredential=&quot;true&quot; /&gt;&lt;transport clientCredentialType=&quot;Windows&quot; proxyCredentialType=&quot;None&quot; realm=&quot;&quot; /&gt;&lt;/security&gt;&lt;/Data&gt;" bindingType="wsHttpBinding" name="WSHttpBinding_IDataApi" />
</bindings>
<endpoints>
- <endpoint normalizedDigest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://localhost:65169/DataApi.svc&quot; binding=&quot;wsHttpBinding&quot; bindingConfiguration=&quot;WSHttpBinding_IDataApi&quot; contract=&quot;SampleResourceServer.IDataApi&quot; name=&quot;WSHttpBinding_IDataApi&quot;&gt;&lt;identity&gt;&lt;dns value=&quot;localhost&quot; /&gt;&lt;/identity&gt;&lt;/Data&gt;" digest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://localhost:65169/DataApi.svc&quot; binding=&quot;wsHttpBinding&quot; bindingConfiguration=&quot;WSHttpBinding_IDataApi&quot; contract=&quot;SampleResourceServer.IDataApi&quot; name=&quot;WSHttpBinding_IDataApi&quot;&gt;&lt;identity&gt;&lt;dns value=&quot;localhost&quot; /&gt;&lt;/identity&gt;&lt;/Data&gt;" contractName="SampleResourceServer.IDataApi" name="WSHttpBinding_IDataApi" />
+ <endpoint normalizedDigest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://localhost:65170/DataApi.svc&quot; binding=&quot;wsHttpBinding&quot; bindingConfiguration=&quot;WSHttpBinding_IDataApi&quot; contract=&quot;SampleResourceServer.IDataApi&quot; name=&quot;WSHttpBinding_IDataApi&quot;&gt;&lt;identity&gt;&lt;dns value=&quot;localhost&quot; /&gt;&lt;/identity&gt;&lt;/Data&gt;" digest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://localhost:65170/DataApi.svc&quot; binding=&quot;wsHttpBinding&quot; bindingConfiguration=&quot;WSHttpBinding_IDataApi&quot; contract=&quot;SampleResourceServer.IDataApi&quot; name=&quot;WSHttpBinding_IDataApi&quot;&gt;&lt;identity&gt;&lt;dns value=&quot;localhost&quot; /&gt;&lt;/identity&gt;&lt;/Data&gt;" contractName="SampleResourceServer.IDataApi" name="WSHttpBinding_IDataApi" />
</endpoints>
</configurationSnapshot> \ No newline at end of file
diff --git a/samples/OAuthClient/Service References/SampleResourceServer/configuration91.svcinfo b/samples/OAuthClient/Service References/SampleResourceServer/configuration91.svcinfo
index 3dd0d1a..1192934 100644
--- a/samples/OAuthClient/Service References/SampleResourceServer/configuration91.svcinfo
+++ b/samples/OAuthClient/Service References/SampleResourceServer/configuration91.svcinfo
@@ -127,10 +127,10 @@
</bindingConfiguration>
</bindingConfigurations>
<endpoints>
- <endpoint name="WSHttpBinding_IDataApi" contract="SampleResourceServer.IDataApi" bindingType="wsHttpBinding" address="http://localhost:65169/DataApi.svc" bindingConfiguration="WSHttpBinding_IDataApi">
+ <endpoint name="WSHttpBinding_IDataApi" contract="SampleResourceServer.IDataApi" bindingType="wsHttpBinding" address="http://localhost:65170/DataApi.svc" bindingConfiguration="WSHttpBinding_IDataApi">
<properties>
<property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>http://localhost:65169/DataApi.svc</serializedValue>
+ <serializedValue>http://localhost:65170/DataApi.svc</serializedValue>
</property>
<property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
diff --git a/samples/OAuthClient/Web.config b/samples/OAuthClient/Web.config
index 1a54474..a5b9f06 100644
--- a/samples/OAuthClient/Web.config
+++ b/samples/OAuthClient/Web.config
@@ -204,7 +204,7 @@
</wsHttpBinding>
</bindings>
<client>
- <endpoint address="http://localhost:65169/DataApi.svc" binding="wsHttpBinding"
+ <endpoint address="http://localhost:65170/DataApi.svc" binding="wsHttpBinding"
bindingConfiguration="WSHttpBinding_IDataApi" contract="SampleResourceServer.IDataApi"
name="WSHttpBinding_IDataApi">
<identity>
diff --git a/samples/OAuthClient/WindowsLive.aspx b/samples/OAuthClient/WindowsLive.aspx
index 5b8c8d4..ef51223 100644
--- a/samples/OAuthClient/WindowsLive.aspx
+++ b/samples/OAuthClient/WindowsLive.aspx
@@ -17,8 +17,8 @@
<pre>127.0.0.1 samples.dotnetopenauth.net</pre>
<p>
Then access this sample via this url:
- <asp:HyperLink ID="publicLink" NavigateUrl="http://samples.dotnetopenauth.net:59721/WindowsLive.aspx"
- runat="server">http://samples.dotnetopenauth.net:59721/WindowsLive.aspx</asp:HyperLink></p>
+ <asp:HyperLink ID="publicLink" NavigateUrl="http://samples.dotnetopenauth.net:59722/WindowsLive.aspx"
+ runat="server">http://samples.dotnetopenauth.net:59722/WindowsLive.aspx</asp:HyperLink></p>
</asp:Panel>
<div>
Welcome,