src/Client/Commands/ActionsCommand.php
public function uri(CryptographyEngine $cryptographyEngine)
	{
		$uri = parent::uri($cryptographyEngine);

		$params = array(
			'hash' => $cryptographyEngine->hash($this->email),
		);

		if (null !== $this->action)
			$params['action'] = $this->action;

		if (null !== $this->scope)
			$params['scope'] = $this->scope;

		$query = http_build_query($params);

		return $uri . (empty($query) ? '' : '?' . $query);
	}
public function uri(CryptographyEngine $cryptographyEngine)
	{
		$uri = parent::uri($cryptographyEngine);

		$params = array(
			'hash' => $cryptographyEngine->hash($this->email),
		);

		if (null !== $this->action)
			$params['action'] = $this->action;

		if (null !== $this->scope)
			$params['scope'] = $this->scope;

		$query = http_build_query($params);

		return $uri . (empty($query) ? '' : '?' . $query);
	}
public function uri ( CryptographyEngine $ cryptographyEngine ) { $ uri = parent :: uri ( $ cryptographyEngine ) ; $ params = array ( 'hash' => $ cryptographyEngine -> hash ( $ this -> email ) , ) ; if ( null !== $ this -> action ) $ params [ 'action' ] = $ this -> action ; if ( null !== $ this -> scope ) $ params [ 'scope' ] = $ this -> scope ; $ query = http_build_query ( $ params ) ; return $ uri . ( empty ( $ query ) ? '' : '?' . $ query ) ; }
returns query parameter

hash: email will be hashed before requesting the server
action: optional action will be transmitted in plain text
scope: optional scope will be transmitted in plain text

@param CryptographyEngine $cryptographyEngine

@return string
returns query parameter