summaryrefslogtreecommitdiffstats
path: root/samples/OAuthServiceProvider/Code/Constants.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2013-03-02 08:20:16 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2013-03-02 08:20:16 -0800
commitffecd2bd3cd8e0f21d4156770afe5d84626ca6bc (patch)
tree067d30f3de1c2bdc053d0ef5c47afd52a01b8f22 /samples/OAuthServiceProvider/Code/Constants.cs
parentd4d806fbcc1c7cdc86ec8234c5792bbaf667d5a8 (diff)
downloadDotNetOpenAuth-ffecd2bd3cd8e0f21d4156770afe5d84626ca6bc.zip
DotNetOpenAuth-ffecd2bd3cd8e0f21d4156770afe5d84626ca6bc.tar.gz
DotNetOpenAuth-ffecd2bd3cd8e0f21d4156770afe5d84626ca6bc.tar.bz2
Fixes build breaks everywhere exception DNOA.AspNet.
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),