public void Login()
        {
            loginToken = soapService.login(username, password);

            if (string.IsNullOrEmpty(loginToken))
            {
                throw new JiraLoginException();
            }
        }
Exemplo n.º 2
0
 /* public JSClient()
  * { }
  */
 public void init(string userName, string userPass, string projectCode)
 {
     UserToken = jiraSoapService.login(userName, userPass);
     Project   = jiraSoapService.getProjectByKey(UserToken, projectCode);
     JUser     = jiraSoapService.getUser(UserToken, userName);
 }