src/ET_Client.php
public function getAuthToken($tenantKey = null) 
	{
		$tenantKey = $tenantKey == null ? $this->tenantKey : $tenantKey;
		if ($this->tenantTokens[$tenantKey] == null) {
			$this->tenantTokens[$tenantKey] = array();
		}		
		return isset($this->tenantTokens[$tenantKey]['authToken']) 
			? $this->tenantTokens[$tenantKey]['authToken']
			: null;
	}
public function getAuthToken($tenantKey = null) 
	{
		$tenantKey = $tenantKey == null ? $this->tenantKey : $tenantKey;
		if ($this->tenantTokens[$tenantKey] == null) {
			$this->tenantTokens[$tenantKey] = array();
		}		
		return isset($this->tenantTokens[$tenantKey]['authToken']) 
			? $this->tenantTokens[$tenantKey]['authToken']
			: null;
	}
public function getAuthToken ( $ tenantKey = null ) { $ tenantKey = $ tenantKey == null ? $ this -> tenantKey : $ tenantKey ; if ( $ this -> tenantTokens [ $ tenantKey ] == null ) { $ this -> tenantTokens [ $ tenantKey ] = array ( ) ; } return isset ( $ this -> tenantTokens [ $ tenantKey ] [ 'authToken' ] ) ? $ this -> tenantTokens [ $ tenantKey ] [ 'authToken' ] : null ; }
Get the authentication token.
@return string
Get the authentication token .