Пример #1
0
 /**
  * Revoke the openstack services' token
  *
  * @return void
  */
 public function deauthenticate()
 {
     try {
         $this->tokenClass->revokeComputeToken();
         $this->tokenClass->revokeImageToken();
         $this->tokenClass->revokeNetworkToken();
         $this->tokenClass->revokeIdentityToken();
         $this->setOutput("deauthenticate", "Ok");
     } catch (BadResponseError $e) {
         $this->errorClass->BadResponseHandler($e);
     } catch (UserInputError $e) {
         $this->errorClass->UserInputHandler($e);
     } catch (BaseError $e) {
         $this->errorClass->BaseErrorHandler($e);
     } catch (NotImplementedError $e) {
         $this->errorClass->NotImplementedHandler($e);
     }
 }