summaryrefslogtreecommitdiffstats
path: root/samples/DotNetOpenAuth.ApplicationBlock/OAuth2/IOAuth2Graph.cs
diff options
context:
space:
mode:
Diffstat (limited to 'samples/DotNetOpenAuth.ApplicationBlock/OAuth2/IOAuth2Graph.cs')
-rw-r--r--samples/DotNetOpenAuth.ApplicationBlock/OAuth2/IOAuth2Graph.cs54
1 files changed, 54 insertions, 0 deletions
diff --git a/samples/DotNetOpenAuth.ApplicationBlock/OAuth2/IOAuth2Graph.cs b/samples/DotNetOpenAuth.ApplicationBlock/OAuth2/IOAuth2Graph.cs
new file mode 100644
index 0000000..b479cc0
--- /dev/null
+++ b/samples/DotNetOpenAuth.ApplicationBlock/OAuth2/IOAuth2Graph.cs
@@ -0,0 +1,54 @@
+namespace DotNetOpenAuth.ApplicationBlock {
+ using System;
+ using System.Collections.Generic;
+ using System.Linq;
+ using System.Text;
+
+ public enum HumanGender {
+ /// <summary>
+ /// The gender is unknown.
+ /// </summary>
+ Unknown,
+
+ /// <summary>
+ /// The gender is male.
+ /// </summary>
+ Male,
+
+ /// <summary>
+ /// The gender is female.
+ /// </summary>
+ Female,
+
+ /// <summary>
+ /// Hmmmm... What could this be?
+ /// </summary>
+ Other,
+ }
+
+ public interface IOAuth2Graph {
+ string Id { get; }
+
+ Uri Link { get; }
+
+ string Name { get; }
+
+ string FirstName { get; }
+
+ string LastName { get; }
+
+ string Gender { get; }
+
+ string Locale { get; }
+
+ DateTime? BirthdayDT { get; }
+
+ string Email { get; }
+
+ Uri AvatarUrl { get; }
+
+ string UpdatedTime { get; }
+
+ HumanGender GenderEnum { get; }
+ }
+}