summaryrefslogtreecommitdiff
path: root/server/core/Identity.php
blob: 343ed15ce673e3b1165bef137156921418d2274d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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;
	}	
}