Begin of Identity Implementation, Begin of Token management for Identification
This commit is contained in:
parent
ba8bbc77fb
commit
78e6e5787c
8 changed files with 335 additions and 9 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue