19 lines
292 B
PHP
19 lines
292 B
PHP
<?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;
|
|
}
|
|
}
|