src/Jira/JiraClient.php
public function login($username, $password)
    {
        $args = array($username, $password);
        $token = $this->_soapAdapter->call('login', $args);
        $this->setToken($token);
        return $token;
    }
public function login($username, $password)
    {
        $args = array($username, $password);
        $token = $this->_soapAdapter->call('login', $args);
        $this->setToken($token);
        return $token;
    }
public function login ( $ username , $ password ) { $ args = array ( $ username , $ password ) ; $ token = $ this -> _soapAdapter -> call ( 'login' , $ args ) ; $ this -> setToken ( $ token ) ; return $ token ; }
Logs in to JIRA and sets the authentication token.

@param string $username
The JIRA user's username.
@param string $password
The JIRA user's password.

@return string
The JIRA authentication token.
Logs in to JIRA and sets the authentication token .