Implementation Token Management End
This commit is contained in:
parent
4c0fb05590
commit
f10df7fee1
1 changed files with 1 additions and 6 deletions
|
@ -57,8 +57,7 @@ class genTokenOptions
|
|||
$options['region'] = 'RegionOne';
|
||||
|
||||
list($token, $baseUrl) = $options['identityService']->authenticate($options);
|
||||
//var_dump($token);
|
||||
//$stack = HandlerStack::create();
|
||||
|
||||
$this->stack->push(Middleware::authHandler($options['authHandler'], $token));
|
||||
|
||||
$this->addDebugMiddleware($options, $this->stack);
|
||||
|
@ -79,13 +78,9 @@ class genTokenOptions
|
|||
$options['catalogType'] = 'compute';
|
||||
$options['region'] = 'RegionOne';
|
||||
|
||||
//list($token, $baseUrl) = $options['identityService']->authenticate($options);
|
||||
$this->backup['Compute'] = unserialize($opt);
|
||||
//var_dump($this->backup['Compute']);
|
||||
$token = $this->unserializeToken($this->backup['Compute']['token']);
|
||||
$baseUrl = $this->backup['Compute']['baseUrl'];
|
||||
|
||||
//$stack = HandlerStack::create();
|
||||
|
||||
$this->stack->push(Middleware::authHandler($options['authHandler'], $token));
|
||||
|
Loading…
Add table
Reference in a new issue