| Total Complexity | 1 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class BasicAuthClient extends AbstractClient implements BasicAuthClientInterface |
||
| 14 | { |
||
| 15 | use DiscoveryTrait; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Create configured client using username and password. |
||
| 19 | * |
||
| 20 | * @param string $username API username. |
||
| 21 | * @param string $password API password. |
||
| 22 | * |
||
| 23 | * @return \IBM\Watson\Common\BasicAuthClient |
||
| 24 | */ |
||
| 25 | public static function create(string $username, string $password): BasicAuthClientInterface |
||
| 34 |