aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.DataSynchronizer.CLI/packages.config
blob: b3daf0d6cedea8f07fbc879c0d983021145335af (plain)
1
2
3
4
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;
        }
    }
}