blob: 3b55f7a53bba1e12bbd4fd1c3887f3fc40f0d1ff (
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
55
56
57
58
59
60
61
62
63
64
65
66
|
//-----------------------------------------------------------------------
// <copyright file="MicrosoftClientUserData.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace DotNetOpenAuth.AspNet.Clients {
using System;
using System.ComponentModel;
using System.Runtime.Serialization;
/// <summary>
/// Contains data of a Windows Live user.
/// </summary>
/// <remarks>
/// Technically, this class doesn't need to be public, but because we want to make it serializable in medium trust, it has to be public.
/// </remarks>
[DataContract]
[EditorBrowsable(EditorBrowsableState.Never)]
public class MicrosoftClientUserData {
#region Public Properties
/// <summary>
/// Gets or sets the first name.
/// </summary>
/// <value> The first name. </value>
[DataMember(Name = "first_name")]
public string FirstName { get; set; }
/// <summary>
/// Gets or sets the gender.
/// </summary>
/// <value> The gender. </value>
[DataMember(Name = "gender")]
public string Gender { get; set; }
/// <summary>
/// Gets or sets the id.
/// </summary>
/// <value> The id. </value>
[DataMember(Name = "id")]
public string Id { get; set; }
/// <summary>
/// Gets or sets the last name.
/// </summary>
/// <value> The last name. </value>
[DataMember(Name = "last_name")]
public string LastName { get; set; }
/// <summary>
/// Gets or sets the link.
/// </summary>
/// <value> The link. </value>
[DataMember(Name = "link")]
public Uri Link { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value> The name. </value>
[DataMember(Name = "name")]
public string Name { get; set; }
#endregion
}
}
|