| @@ 51-66 (lines=16) @@ | ||
| 48 | * @param ClientInterface $clientInterface |
|
| 49 | * @param AuthStrategyInterface $authStrategy |
|
| 50 | */ |
|
| 51 | public function __construct( |
|
| 52 | $clientId, |
|
| 53 | $secretKey, |
|
| 54 | $username, |
|
| 55 | $password, |
|
| 56 | ClientInterface $clientInterface, |
|
| 57 | AuthStrategyInterface $authStrategy |
|
| 58 | ) { |
|
| 59 | $this->clientId = $clientId; |
|
| 60 | $this->secretKey = $secretKey; |
|
| 61 | $this->username = $username; |
|
| 62 | $this->password = $password; |
|
| 63 | ||
| 64 | $this->client = $clientInterface; |
|
| 65 | $this->authStrategy = $authStrategy; |
|
| 66 | } |
|
| 67 | ||
| 68 | /** |
|
| 69 | * @param string $method |
|
| @@ 45-58 (lines=14) @@ | ||
| 42 | * @param ClientInterface $clientInterface |
|
| 43 | * @param AuthStrategyInterface $authStrategy |
|
| 44 | */ |
|
| 45 | public function __construct( |
|
| 46 | $clientId, |
|
| 47 | $secretKey, |
|
| 48 | $token, |
|
| 49 | ClientInterface $clientInterface, |
|
| 50 | AuthStrategyInterface $authStrategy |
|
| 51 | ) { |
|
| 52 | $this->clientId = $clientId; |
|
| 53 | $this->secretKey = $secretKey; |
|
| 54 | $this->token = $token; |
|
| 55 | ||
| 56 | $this->client = $clientInterface; |
|
| 57 | $this->authStrategy = $authStrategy; |
|
| 58 | } |
|
| 59 | ||
| 60 | ||
| 61 | /** |
|