@@ 41-49 (lines=9) @@ | ||
38 | * @param string $password |
|
39 | * @param string $idSite |
|
40 | */ |
|
41 | public function __construct(string $username, string $password, string $idSite = '') |
|
42 | { |
|
43 | $this->_network = new \Oara\Network\Publisher\Adtraction; |
|
44 | $this->_username = $username; |
|
45 | $this->_password = $password; |
|
46 | $this->_idSite = $idSite; |
|
47 | $this->_apiClient = null; |
|
48 | $this->login( $this->_username, $this->_password, $this->_idSite ); |
|
49 | } |
|
50 | ||
51 | public function login(string $username, string $password, string $idSite = ''): bool |
|
52 | { |
@@ 41-49 (lines=9) @@ | ||
38 | * @param string $password |
|
39 | * @param string $idSite |
|
40 | */ |
|
41 | public function __construct(string $username, string $password, string $idSite = '') |
|
42 | { |
|
43 | $this->_network = new \Oara\Network\Publisher\TradeDoubler; |
|
44 | $this->_username = $username; |
|
45 | $this->_password = $password; |
|
46 | $this->_idSite = $idSite; |
|
47 | $this->_apiClient = null; |
|
48 | $this->login( $this->_username, $this->_password, $this->_idSite ); |
|
49 | } |
|
50 | ||
51 | public function login(string $username, string $password, string $idSite = ''): bool |
|
52 | { |