summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OAuth2.Client/OAuth2/ChannelElements
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2013-03-06 17:42:12 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2013-03-06 17:42:12 -0800
commit5c50924246387b6d9a5ce668fb389b5ec7d93434 (patch)
treef86d6f629609450619e30533b1c0c4629111050b /src/DotNetOpenAuth.OAuth2.Client/OAuth2/ChannelElements
parentab1e20ef732e482706cf5cea47e371f90476c8f3 (diff)
downloadDotNetOpenAuth-5c50924246387b6d9a5ce668fb389b5ec7d93434.zip
DotNetOpenAuth-5c50924246387b6d9a5ce668fb389b5ec7d93434.tar.gz
DotNetOpenAuth-5c50924246387b6d9a5ce668fb389b5ec7d93434.tar.bz2
Unit test build break fixes.
Diffstat (limited to 'src/DotNetOpenAuth.OAuth2.Client/OAuth2/ChannelElements')
-rw-r--r--src/DotNetOpenAuth.OAuth2.Client/OAuth2/ChannelElements/OAuth2ClientChannel.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth.OAuth2.Client/OAuth2/ChannelElements/OAuth2ClientChannel.cs b/src/DotNetOpenAuth.OAuth2.Client/OAuth2/ChannelElements/OAuth2ClientChannel.cs
index ae1a823..a11b81b 100644
--- a/src/DotNetOpenAuth.OAuth2.Client/OAuth2/ChannelElements/OAuth2ClientChannel.cs
+++ b/src/DotNetOpenAuth.OAuth2.Client/OAuth2/ChannelElements/OAuth2ClientChannel.cs
@@ -92,7 +92,7 @@ namespace DotNetOpenAuth.OAuth2.ChannelElements {
/// The deserialized message parts, if found. Null otherwise.
/// </returns>
/// <exception cref="ProtocolException">Thrown when the response is not valid.</exception>
- protected override async Task<IDictionary<string, string>> ReadFromResponseCoreAsync(HttpResponseMessage response) {
+ protected override async Task<IDictionary<string, string>> ReadFromResponseCoreAsync(HttpResponseMessage response, CancellationToken cancellationToken) {
// The spec says direct responses should be JSON objects, but Facebook uses HttpFormUrlEncoded instead, calling it text/plain
// Others return text/javascript. Again bad.
string body = await response.Content.ReadAsStringAsync();