From 78e6e5787ce2df4ae55f5b4d64c792b8f20696d7 Mon Sep 17 00:00:00 2001 From: Eole Date: Sat, 30 Jan 2016 11:41:45 +0100 Subject: Begin of Identity Implementation, Begin of Token management for Identification --- server/index.php | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'server/index.php') diff --git a/server/index.php b/server/index.php index ca84641..ceba59e 100644 --- a/server/index.php +++ b/server/index.php @@ -3,7 +3,14 @@ include_once("config.inc.php"); include_once("init.php"); - $task = $_POST["task"]; - $action = $_POST["action"]; - +// $task = $_POST["task"]; +// $action = $_POST["action"]; + include_once("core/Identity.php"); + + //$id = new identity($openstack_api, $pluginApi); + +// var_dump($id->genToken()); + $openstack_api->computeV2(['region'=> 'RegionOne']); + +// var_dump($openstack_api->getBuilderOptions()); -- cgit v1.2.3