summaryrefslogtreecommitdiffstats
path: root/samples/DotNetOpenAuth.ApplicationBlock/OAuth2/IOAuth2Graph.cs
blob: b479cc021672b1af2b628cf969bc6ce1583e43b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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; }
	}
}