//----------------------------------------------------------------------- // // Copyright (c) Microsoft. All rights reserved. // //----------------------------------------------------------------------- namespace DotNetOpenAuth.AspNet.Clients { using System; using System.ComponentModel; using System.Runtime.Serialization; /// /// Contains data of a Windows Live user. /// /// /// 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. /// [DataContract] [EditorBrowsable(EditorBrowsableState.Never)] public class MicrosoftClientUserData { #region Public Properties /// /// Gets or sets the first name. /// /// The first name. [DataMember(Name = "first_name")] public string FirstName { get; set; } /// /// Gets or sets the gender. /// /// The gender. [DataMember(Name = "gender")] public string Gender { get; set; } /// /// Gets or sets the id. /// /// The id. [DataMember(Name = "id")] public string Id { get; set; } /// /// Gets or sets the last name. /// /// The last name. [DataMember(Name = "last_name")] public string LastName { get; set; } /// /// Gets or sets the link. /// /// The link. [DataMember(Name = "link")] public Uri Link { get; set; } /// /// Gets or sets the name. /// /// The name. [DataMember(Name = "name")] public string Name { get; set; } #endregion } }