summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Core/Messaging/UriStyleMessageFormatter.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2012-04-25 06:21:30 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2012-04-25 06:21:30 -0700
commitd10db64d32f10c9514918541542af3bbf5889fca (patch)
tree34a338c26072e142c50e59e119a8b10551ed1524 /src/DotNetOpenAuth.Core/Messaging/UriStyleMessageFormatter.cs
parentbf30c08cce5b18f6dc1679be8e4e610819efa9a7 (diff)
downloadDotNetOpenAuth-d10db64d32f10c9514918541542af3bbf5889fca.zip
DotNetOpenAuth-d10db64d32f10c9514918541542af3bbf5889fca.tar.gz
DotNetOpenAuth-d10db64d32f10c9514918541542af3bbf5889fca.tar.bz2
Authorization Server hosts now instantiate their own AccessTokens rather than just parameters.
AccessTokens are now serialized via a virtual method on that instance. Fixes #38, I think.
Diffstat (limited to 'src/DotNetOpenAuth.Core/Messaging/UriStyleMessageFormatter.cs')
-rw-r--r--src/DotNetOpenAuth.Core/Messaging/UriStyleMessageFormatter.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth.Core/Messaging/UriStyleMessageFormatter.cs b/src/DotNetOpenAuth.Core/Messaging/UriStyleMessageFormatter.cs
index 92b1928..242175e 100644
--- a/src/DotNetOpenAuth.Core/Messaging/UriStyleMessageFormatter.cs
+++ b/src/DotNetOpenAuth.Core/Messaging/UriStyleMessageFormatter.cs
@@ -20,7 +20,7 @@ namespace DotNetOpenAuth.Messaging {
/// A serializer for <see cref="DataBag"/>-derived types
/// </summary>
/// <typeparam name="T">The DataBag-derived type that is to be serialized/deserialized.</typeparam>
- internal class UriStyleMessageFormatter<T> : DataBagFormatterBase<T> where T : DataBag, new() {
+ internal class UriStyleMessageFormatter<T> : DataBagFormatterBase<T> where T : DataBag {
/// <summary>
/// Initializes a new instance of the <see cref="UriStyleMessageFormatter&lt;T&gt;"/> class.
/// </summary>