We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7de4609 commit e5b5ed6Copy full SHA for e5b5ed6
1 file changed
samples/identity/v2/generate_token.php
@@ -8,13 +8,15 @@
8
use OpenStack\Common\Transport\Utils as TransportUtils;
9
use OpenStack\OpenStack;
10
11
+$authUrl = 'https://example.com:5000/v2.0';
12
+
13
$httpClient = new Client([
- 'base_uri' => TransportUtils::normalizeUrl(getenv('OS_AUTH_URL')),
14
+ 'base_uri' => TransportUtils::normalizeUrl($authUrl),
15
'handler' => HandlerStack::create(),
16
]);
17
18
$options = [
- 'authUrl' => 'https://example.com:5000/v2.0',
19
+ 'authUrl' => $authUrl,
20
'region' => 'RegionOne',
21
'username' => 'foo',
22
'password' => 'bar',
0 commit comments