summaryrefslogtreecommitdiffstats
path: root/samples/DotNetOpenAuth.ApplicationBlock/CustomExtensions
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-05-21 17:55:16 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2009-05-21 17:55:16 -0700
commita05c016a9c73ba3c1d880e2f60be504bcbc36104 (patch)
treed022eeb4fa8c0b618db3fd777ba483647c9f2233 /samples/DotNetOpenAuth.ApplicationBlock/CustomExtensions
parentbaa8dcc4fb574fe81ae701eb9020d10684158781 (diff)
parent683b55a61af3c7bfa11b74a5cc4efd3556e59613 (diff)
downloadDotNetOpenAuth-a05c016a9c73ba3c1d880e2f60be504bcbc36104.zip
DotNetOpenAuth-a05c016a9c73ba3c1d880e2f60be504bcbc36104.tar.gz
DotNetOpenAuth-a05c016a9c73ba3c1d880e2f60be504bcbc36104.tar.bz2
Merge branch 'v3.1'
Diffstat (limited to 'samples/DotNetOpenAuth.ApplicationBlock/CustomExtensions')
-rw-r--r--samples/DotNetOpenAuth.ApplicationBlock/CustomExtensions/AcmeRequest.cs5
-rw-r--r--samples/DotNetOpenAuth.ApplicationBlock/CustomExtensions/AcmeResponse.cs5
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>