using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Tango.Core; using Tango.WiFi; namespace Tango.PPC.Common.Connectivity { public class WiFiAuthentication : ExtendedObject { public AuthRequest AuthRequest { get; set; } public bool IsUserNameRequired { get { return AuthRequest.IsUsernameRequired; } } public bool IsPasswordRequired { get { return AuthRequest.IsPasswordRequired; } } public String UserName { get { return AuthRequest.Username; } set { AuthRequest.Username = value; RaisePropertyChangedAuto(); } } public String Password { get { return AuthRequest.Password; } set { AuthRequest.Password = value; RaisePropertyChangedAuto(); } } public WiFiAuthentication(AuthRequest request) { AuthRequest = request; } } }