istic-openstack/server/core/Identity.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;
}
}