End of comments
This commit is contained in:
parent
5263cf00a2
commit
1d42345e07
13 changed files with 491 additions and 264 deletions
server/core
|
@ -9,7 +9,9 @@
|
|||
*
|
||||
*/
|
||||
|
||||
//Library token management override
|
||||
/*
|
||||
* Library token management override
|
||||
*/
|
||||
include_once("core/LibOverride/genTokenOptions.php");
|
||||
include_once("core/ErrorManagement.php");
|
||||
|
||||
|
@ -28,7 +30,7 @@ use OpenCloud\Common\Error\UserInputError;
|
|||
*/
|
||||
class App{
|
||||
|
||||
/** @var Openstack $openstack protected, contains the main library object */
|
||||
/** @var OpenStack\OpenStack $openstack protected, contains the main library object */
|
||||
protected $openstack;
|
||||
/** @var Array $postParams protected, contains the post parameters */
|
||||
protected $postParams;
|
||||
|
@ -124,7 +126,7 @@ class App{
|
|||
/**
|
||||
* Generate the token for the different services in OpenStack
|
||||
*
|
||||
* @return NULL
|
||||
* @return void
|
||||
*/
|
||||
public function authenticate(){
|
||||
|
||||
|
@ -150,7 +152,7 @@ class App{
|
|||
/**
|
||||
* Revoke the openstack services' token
|
||||
*
|
||||
* @return NULL
|
||||
* @return void
|
||||
*/
|
||||
public function deauthenticate(){
|
||||
|
||||
|
@ -197,7 +199,7 @@ class App{
|
|||
* @param String $param Name for the Post entry
|
||||
* @param Object $value Value for the Post entry
|
||||
*
|
||||
* @return NULL
|
||||
* @return void
|
||||
*/
|
||||
public function setPostParam($param, $value){
|
||||
|
||||
|
@ -211,7 +213,7 @@ class App{
|
|||
* @param String $key Array key for the message
|
||||
* @param Array $out Message's value
|
||||
*
|
||||
* @return NULL
|
||||
* @return void
|
||||
*/
|
||||
public function setOutput($key, $out){
|
||||
|
||||
|
@ -233,7 +235,7 @@ class App{
|
|||
/**
|
||||
* Output the messages to be send to the client
|
||||
*
|
||||
* @return NULl
|
||||
* @return void
|
||||
*/
|
||||
public function show(){
|
||||
echo json_encode($this->output);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue