summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ChannelElements/OAuth2ResourceServerChannel.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2012-03-17 12:22:07 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2012-03-17 12:22:07 -0700
commit505fb956d0ccda72a5ded14a03a0a21eafd5c9f5 (patch)
tree55de7104db1fb9e548f9befcd29789e74810ac4a /src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ChannelElements/OAuth2ResourceServerChannel.cs
parent719337e7465118c21aa89727c3dbba93e7a192a1 (diff)
downloadDotNetOpenAuth-505fb956d0ccda72a5ded14a03a0a21eafd5c9f5.zip
DotNetOpenAuth-505fb956d0ccda72a5ded14a03a0a21eafd5c9f5.tar.gz
DotNetOpenAuth-505fb956d0ccda72a5ded14a03a0a21eafd5c9f5.tar.bz2
Fixed build breaks in the solution.
Diffstat (limited to 'src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ChannelElements/OAuth2ResourceServerChannel.cs')
-rw-r--r--src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ChannelElements/OAuth2ResourceServerChannel.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ChannelElements/OAuth2ResourceServerChannel.cs b/src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ChannelElements/OAuth2ResourceServerChannel.cs
index 947c044..22514b4 100644
--- a/src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ChannelElements/OAuth2ResourceServerChannel.cs
+++ b/src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ChannelElements/OAuth2ResourceServerChannel.cs
@@ -52,8 +52,8 @@ namespace DotNetOpenAuth.OAuth2.ChannelElements {
var fields = new Dictionary<string, string>();
string accessToken;
if ((accessToken = SearchForBearerAccessTokenInRequest(request)) != null) {
- fields["token_type"] = Protocol.AccessTokenTypes.Bearer;
- fields["access_token"] = accessToken;
+ fields[Protocol.token_type] = Protocol.AccessTokenTypes.Bearer;
+ fields[Protocol.access_token] = accessToken;
}
if (fields.Count > 0) {