internal string[] ValidateWithWebService(string username, string password)
        {
            th.ac.psu.passport.Authentication a = new th.ac.psu.passport.Authentication();
            var result = a.GetUserDetails(username, password);

            return(result);
        }
예제 #2
0
 private string[] GetResultFromPSUPassport(string username, string password)
 {
     try
     {
         th.ac.psu.passport.Authentication a = new th.ac.psu.passport.Authentication();
         return(a.GetUserDetails(username, password));
     }
     catch (System.Exception ex)
     {
         throw new Exception("GetPSUPassport", ex);
     }
 }