public function getTokenAuth($userLogin, $md5Password, array $optional = [])
    {
        return $this->_request('UsersManager.getTokenAuth', [
            'userLogin' => $userLogin,
            'md5Password' => md5($md5Password),
        ], $optional);
    }
public function getTokenAuth($userLogin, $md5Password, array $optional = [])
    {
        return $this->_request('UsersManager.getTokenAuth', [
            'userLogin' => $userLogin,
            'md5Password' => md5($md5Password),
        ], $optional);
    }
public function getTokenAuth ( $ userLogin , $ md5Password , array $ optional = [ ] ) { return $ this -> _request ( 'UsersManager.getTokenAuth' , [ 'userLogin' => $ userLogin , 'md5Password' => md5 ( $ md5Password ) , ] , $ optional ) ; }
Get the token for a user

@param string $userLogin Username
@param string $md5Password Password in clear text
@param array $optional
@return bool|object
@throws InvalidRequestException
Get the token for a user