| Total Complexity | 5 |
| Total Lines | 63 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class ZoomApiConfiguration |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | private $clientId; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | private $clientSecret; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | private $redirectUrl; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * ZoomApiConfiguration constructor. |
||
| 32 | * |
||
| 33 | * @param string $clientId |
||
| 34 | * @param string $clientSecret |
||
| 35 | * @param string $redirectUrl |
||
| 36 | */ |
||
| 37 | 2 | public function __construct($clientId, $clientSecret, $redirectUrl) |
|
| 42 | 2 | } |
|
| 43 | |||
| 44 | /** |
||
| 45 | * @return string |
||
| 46 | */ |
||
| 47 | 1 | public function clientId() |
|
| 50 | } |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @return string |
||
| 54 | */ |
||
| 55 | 1 | public function clientSecret() |
|
| 58 | } |
||
| 59 | |||
| 60 | /** |
||
| 61 | * @return string |
||
| 62 | */ |
||
| 63 | 1 | public function redirectUrl() |
|
| 64 | { |
||
| 65 | 1 | return $this->redirectUrl; |
|
| 66 | } |
||
| 67 | |||
| 68 | /** |
||
| 69 | * This is just to identify that, we initiated the login sequence (not someone else) |
||
| 70 | * |
||
| 71 | * @return string |
||
| 72 | */ |
||
| 73 | 1 | public function ourSecretState() |
|
| 76 | } |
||
| 77 | } |
||
| 78 |