summaryrefslogtreecommitdiffstats
path: root/samples/OAuthServiceProvider/Code/Constants.cs
diff options
context:
space:
mode:
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),