Skip to content
Snippets Groups Projects

Issue #3352191: Add a setCredentials() method to `Rest/OpenStackService.php`

@@ -230,6 +230,16 @@ class OpenStackService extends CloudServiceBase implements OpenStackServiceInter
return $this->credentials;
}
/**
* Set the credential array.
*
* Gives implementing code a chance to set credentials without setting up
* a OpenStack cloud service provider.
*/
public function setCredentials(array $credentials): void {
$this->credentials = $credentials;
}
/**
* Setup any default parameters for the Guzzle request.
*
Loading