summaryrefslogtreecommitdiffstats
path: root/samples/OAuthServiceProvider/Code/Constants.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2013-03-03 08:41:16 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2013-03-03 08:41:16 -0800
commit475b47ab8eaa23e064763b05539fa750accebfdc (patch)
tree785a8c82ec1d8884fc51c201c23040923cbfa6fc /samples/OAuthServiceProvider/Code/Constants.cs
parent74b6b4efd2be2680e3067f716829b0c9385ceebe (diff)
parent1fdcca1a8019189237e86907f220307e2ccd61c9 (diff)
downloadDotNetOpenAuth-475b47ab8eaa23e064763b05539fa750accebfdc.zip
DotNetOpenAuth-475b47ab8eaa23e064763b05539fa750accebfdc.tar.gz
DotNetOpenAuth-475b47ab8eaa23e064763b05539fa750accebfdc.tar.bz2
Merge branch 'OAuthSimple' into httpclient
Diffstat (limited to 'samples/OAuthServiceProvider/Code/Constants.cs')
-rw-r--r--samples/OAuthServiceProvider/Code/Constants.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/OAuthServiceProvider/Code/Constants.cs b/samples/OAuthServiceProvider/Code/Constants.cs
index 3e629f0..9115f1c 100644
--- a/samples/OAuthServiceProvider/Code/Constants.cs
+++ b/samples/OAuthServiceProvider/Code/Constants.cs
@@ -10,9 +10,9 @@
public static class Constants {
public static Uri WebRootUrl { get; set; }
- public static ServiceProviderDescription SelfDescription {
+ public static ServiceProviderHostDescription SelfDescription {
get {
- ServiceProviderDescription description = new ServiceProviderDescription {
+ var description = new ServiceProviderHostDescription {
AccessTokenEndpoint = new MessageReceivingEndpoint(new Uri(WebRootUrl, "/OAuth.ashx"), HttpDeliveryMethods.PostRequest),
RequestTokenEndpoint = new MessageReceivingEndpoint(new Uri(WebRootUrl, "/OAuth.ashx"), HttpDeliveryMethods.PostRequest),
UserAuthorizationEndpoint = new MessageReceivingEndpoint(new Uri(WebRootUrl, "/OAuth.ashx"), HttpDeliveryMethods.PostRequest),