summaryrefslogtreecommitdiffstats
path: root/samples/ConsumerWpf/Constants.cs
diff options
context:
space:
mode:
Diffstat (limited to 'samples/ConsumerWpf/Constants.cs')
-rw-r--r--samples/ConsumerWpf/Constants.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/samples/ConsumerWpf/Constants.cs b/samples/ConsumerWpf/Constants.cs
index fedf219..cc21908 100644
--- a/samples/ConsumerWpf/Constants.cs
+++ b/samples/ConsumerWpf/Constants.cs
@@ -21,9 +21,9 @@ namespace DotNetOAuth.Samples.ConsumerWpf {
/// The Consumer to use for accessing Google data APIs.
/// </summary>
public static readonly ServiceProviderDescription GoogleDescription = new ServiceProviderDescription {
- RequestTokenEndpoint = new MessageReceivingEndpoint("https://www.google.com/accounts/OAuthGetRequestToken", HttpDeliveryMethods.AuthorizationHeaderRequest),
- UserAuthorizationEndpoint = new MessageReceivingEndpoint("https://www.google.com/accounts/OAuthAuthorizeToken", HttpDeliveryMethods.AuthorizationHeaderRequest),
- AccessTokenEndpoint = new MessageReceivingEndpoint("https://www.google.com/accounts/OAuthGetAccessToken", HttpDeliveryMethods.AuthorizationHeaderRequest),
+ RequestTokenEndpoint = new MessageReceivingEndpoint("https://www.google.com/accounts/OAuthGetRequestToken", HttpDeliveryMethods.AuthorizationHeaderRequest | HttpDeliveryMethods.GetRequest),
+ UserAuthorizationEndpoint = new MessageReceivingEndpoint("https://www.google.com/accounts/OAuthAuthorizeToken", HttpDeliveryMethods.AuthorizationHeaderRequest | HttpDeliveryMethods.GetRequest),
+ AccessTokenEndpoint = new MessageReceivingEndpoint("https://www.google.com/accounts/OAuthGetAccessToken", HttpDeliveryMethods.AuthorizationHeaderRequest | HttpDeliveryMethods.GetRequest),
TamperProtectionElements = new ITamperProtectionChannelBindingElement[] {
new HmacSha1SigningBindingElement(),
},