namespace MyAuth.Web
{
    using System.ServiceModel.DomainServices.Server.ApplicationServices;

    /// <summary>
    /// Class containing information about the authenticated user.
    /// </summary>
    public class User : UserBase
    {
        //// NOTE: Profile properties can be added for use in Silverlight application.
        //// To enable profiles, edit the appropriate section of web.config file.
        ////
        //// public string MyProfileProperty { get; set; }

        /// <summary>
        /// Gets and sets the friendly name of the user.
        /// </summary>
        public string FriendlyName { get; set; }
        /// <summary>
        /// Gets or sets an XML string containing user data.
        /// </summary>
        public string UserData { get; set; }
    }

    /// <summary>
    /// Class containing the values for user registration.
    /// </summary>
    public class RegistrationData
    {
        /// <summary>
        /// Gets and sets the email address.
        /// </summary>
        public string Email { get; set; }
        /// <summary>
        /// Gets and sets the friendly name of the user.
        /// </summary>
        public string FriendlyName { get; set; }
    }
}
