public function ZoomApiClient::validateConfiguration in Zoom API 2.0.x
Same name and namespace in other branches
- 8 src/Client/ZoomApiClient.php \Drupal\zoomapi\Client\ZoomApiClient::validateConfiguration()
Used to validate Configuration.
This could be more thorough.
Return value
bool TRUE or FALSE.
File
- src/
Client/ ZoomApiClient.php, line 189
Class
- ZoomApiClient
- Uses http client to interact with the Zoom API.
Namespace
Drupal\zoomapi\ClientCode
public function validateConfiguration() {
$props = [
'apiKey',
'apiSecret',
'baseUri',
];
foreach ($props as $prop) {
if (empty($this->{$prop})) {
return FALSE;
}
}
return TRUE;
}