diff options
Diffstat (limited to 'server/core/Identity.php')
| -rwxr-xr-x[-rw-r--r--] | server/core/Identity.php | 27 |
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 + + } } |
