diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-05-21 17:47:39 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2009-05-21 17:47:39 -0700 |
commit | 683b55a61af3c7bfa11b74a5cc4efd3556e59613 (patch) | |
tree | 33b9b40e83c8932a33de8803ec56a7272458d2e3 /samples/DotNetOpenAuth.ApplicationBlock | |
parent | c5c8515e67903baf00ba63417ac6124f665ea38b (diff) | |
parent | 510723cc2773ad3f1e306001310d7a8b28e89d1a (diff) | |
download | DotNetOpenAuth-683b55a61af3c7bfa11b74a5cc4efd3556e59613.zip DotNetOpenAuth-683b55a61af3c7bfa11b74a5cc4efd3556e59613.tar.gz DotNetOpenAuth-683b55a61af3c7bfa11b74a5cc4efd3556e59613.tar.bz2 |
Merge branch 'v3.0' into v3.1
Diffstat (limited to 'samples/DotNetOpenAuth.ApplicationBlock')
-rw-r--r-- | samples/DotNetOpenAuth.ApplicationBlock/CustomExtensions/AcmeRequest.cs | 5 | ||||
-rw-r--r-- | samples/DotNetOpenAuth.ApplicationBlock/CustomExtensions/AcmeResponse.cs | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/samples/DotNetOpenAuth.ApplicationBlock/CustomExtensions/AcmeRequest.cs b/samples/DotNetOpenAuth.ApplicationBlock/CustomExtensions/AcmeRequest.cs index e3effdf..8859c10 100644 --- a/samples/DotNetOpenAuth.ApplicationBlock/CustomExtensions/AcmeRequest.cs +++ b/samples/DotNetOpenAuth.ApplicationBlock/CustomExtensions/AcmeRequest.cs @@ -8,12 +8,15 @@ namespace DotNetOpenAuth.ApplicationBlock.CustomExtensions { using System; using System.Collections.Generic; using System.Linq; - using System.Text; + using DotNetOpenAuth.Messaging; using DotNetOpenAuth.OpenId.Messages; public class AcmeRequest : IOpenIdMessageExtension { private IDictionary<string, string> extraData = new Dictionary<string, string>(); + [MessagePart] + public string FavoriteFlavor { get; set; } + #region IOpenIdMessageExtension Members public string TypeUri { diff --git a/samples/DotNetOpenAuth.ApplicationBlock/CustomExtensions/AcmeResponse.cs b/samples/DotNetOpenAuth.ApplicationBlock/CustomExtensions/AcmeResponse.cs index 62551e6..1e6748c 100644 --- a/samples/DotNetOpenAuth.ApplicationBlock/CustomExtensions/AcmeResponse.cs +++ b/samples/DotNetOpenAuth.ApplicationBlock/CustomExtensions/AcmeResponse.cs @@ -8,13 +8,16 @@ namespace DotNetOpenAuth.ApplicationBlock.CustomExtensions { using System; using System.Collections.Generic; using System.Linq; - using System.Text; + using DotNetOpenAuth.Messaging; using DotNetOpenAuth.OpenId.Messages; [Serializable] public class AcmeResponse : IOpenIdMessageExtension { private IDictionary<string, string> extraData = new Dictionary<string, string>(); + [MessagePart] + public string FavoriteIceCream { get; set; } + #region IOpenIdMessageExtension Members /// <summary> |