| @@ 38-49 (lines=12) @@ | ||
| 35 | /** |
|
| 36 | * @return bool |
|
| 37 | */ |
|
| 38 | public function checkLogin() : bool |
|
| 39 | { |
|
| 40 | $credentials = array(); |
|
| 41 | $credentials["user"] = $this->_username; |
|
| 42 | $credentials["password"] = $this->_password; |
|
| 43 | $this->_network->login($credentials); |
|
| 44 | if ($this->_network->checkConnection()) { |
|
| 45 | return true; |
|
| 46 | } |
|
| 47 | ||
| 48 | return false; |
|
| 49 | } |
|
| 50 | ||
| 51 | /** |
|
| 52 | * @return array of Merchants |
|
| @@ 40-51 (lines=12) @@ | ||
| 37 | /** |
|
| 38 | * @return bool |
|
| 39 | */ |
|
| 40 | public function checkLogin() : bool |
|
| 41 | { |
|
| 42 | $credentials = array(); |
|
| 43 | $credentials["user"] = $this->_username; |
|
| 44 | $credentials["password"] = $this->_password; |
|
| 45 | $this->_network->login($credentials); |
|
| 46 | if ($this->_network->checkConnection()) { |
|
| 47 | return true; |
|
| 48 | } |
|
| 49 | ||
| 50 | return false; |
|
| 51 | } |
|
| 52 | ||
| 53 | /** |
|
| 54 | * @return array of Merchants |
|
| @@ 42-53 (lines=12) @@ | ||
| 39 | /** |
|
| 40 | * @return bool |
|
| 41 | */ |
|
| 42 | public function checkLogin() : bool |
|
| 43 | { |
|
| 44 | $credentials = array(); |
|
| 45 | $credentials["connectid"] = $this->_username; |
|
| 46 | $credentials["secretkey"] = $this->_password; |
|
| 47 | $this->_network->login($credentials); |
|
| 48 | if ($this->_network->checkConnection()) { |
|
| 49 | return true; |
|
| 50 | } |
|
| 51 | ||
| 52 | return false; |
|
| 53 | } |
|
| 54 | ||
| 55 | /** |
|
| 56 | * @return array of Merchants |
|