summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenId/Extensions/AttributeResponse.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2008-04-17 21:01:43 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2008-04-17 21:01:43 -0700
commit0fa78ed519bd570d01bea13f6c19d12fa5ab369f (patch)
tree7cb77a1929020f35d280664488e4f70c9fbc4acd /src/DotNetOpenId/Extensions/AttributeResponse.cs
parent07b8b586c6873b88df126b4bd9947d87afe8f929 (diff)
downloadDotNetOpenAuth-0fa78ed519bd570d01bea13f6c19d12fa5ab369f.zip
DotNetOpenAuth-0fa78ed519bd570d01bea13f6c19d12fa5ab369f.tar.gz
DotNetOpenAuth-0fa78ed519bd570d01bea13f6c19d12fa5ab369f.tar.bz2
Attribute Exchange extension is now feature complete.
Also added some unit and round-tripping tests.
Diffstat (limited to 'src/DotNetOpenId/Extensions/AttributeResponse.cs')
-rw-r--r--src/DotNetOpenId/Extensions/AttributeResponse.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/DotNetOpenId/Extensions/AttributeResponse.cs b/src/DotNetOpenId/Extensions/AttributeResponse.cs
new file mode 100644
index 0000000..cff7874
--- /dev/null
+++ b/src/DotNetOpenId/Extensions/AttributeResponse.cs
@@ -0,0 +1,23 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace DotNetOpenId.Extensions {
+ /// <summary>
+ /// An individual attribute's value(s) as supplied by an OpenID Provider
+ /// in response to a prior request by an OpenID Relying Party.
+ /// </summary>
+ public class AttributeResponse {
+ internal AttributeResponse() { }
+
+ /// <summary>
+ /// The URI uniquely identifying the attribute whose value is being supplied.
+ /// </summary>
+ public string TypeUri { get; internal set; }
+
+ /// <summary>
+ /// Gets the values supplied by the Provider.
+ /// </summary>
+ public string[] Values;
+ }
+}