Begin of Identity Implementation, Begin of Token management for Identification

This commit is contained in:
Eole 2016-01-30 11:41:45 +01:00
parent ba8bbc77fb
commit 78e6e5787c
8 changed files with 335 additions and 9 deletions

View file

@ -1 +1,19 @@
<?php
class identity {
protected $oidentity;
public function __construct($ostack, $apiP){
$this->oidentity = $ostack->identityV3();
$this->plugins = $apiP;
}
public function genToken(){
global $Args;
$token = $this->oidentity->generateToken($Args);
return $token;
}
}