summaryrefslogtreecommitdiff
path: root/server/core/Identity.php
diff options
context:
space:
mode:
authorEoleDev <EoleDev@outlook.fr>2016-02-05 00:07:31 +0100
committerEoleDev <EoleDev@outlook.fr>2016-02-05 00:07:31 +0100
commitc2a5b1880c19c1490c42eb40a6a15ce2bc64b9e9 (patch)
tree8a83582ed8d5feb01b4b68ecad541a83fe385ace /server/core/Identity.php
parentb39f5c1cd4631be3259b272e1f6cbe9b4915410b (diff)
Request Analyse reviewed, Server Initialisation Reviewed, Core Class Interface Created, App created
Diffstat (limited to 'server/core/Identity.php')
-rwxr-xr-x[-rw-r--r--]server/core/Identity.php27
1 files changed, 18 insertions, 9 deletions
diff --git a/server/core/Identity.php b/server/core/Identity.php
index 343ed15..d607957 100644..100755
--- a/server/core/Identity.php
+++ b/server/core/Identity.php
@@ -1,19 +1,28 @@
<?php
-class identity {
+class identity implements Core{
- protected $oidentity;
+ protected $app;
+ protected $libClass;
+ protected $action;
- public function __construct($ostack, $apiP){
+ public function __construct($app){
- $this->oidentity = $ostack->identityV3();
- $this->plugins = $apiP;
+ $this->app = $app;
+ if($app->getOptions("Identity"))
+ $this->libClass = $app->getLibClass("Identity");
}
+ public function action($action){
+
+ //To be Complete
+
+ }
+
public function genToken(){
- global $Args;
- $token = $this->oidentity->generateToken($Args);
- return $token;
- }
+
+ //To be Complete
+
+ }
}