Skip to content
Snippets Groups Projects
Commit a13964f4 authored by baldwinlouie's avatar baldwinlouie Committed by Yas Naoi
Browse files

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

parent 8f851133
No related branches found
Tags 11.2.8
No related merge requests found
......@@ -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.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment