SDK PHP v3.x

You are currently looking at the documentation of a previous version of Kuzzle. We strongly recommend that you use the latest version. You can also use the version selector in the top menu.

getJwtToken #

Get internal jwtToken used to request kuzzle.

Return Value #

Returns the stored JWT as a string value.

Usage #

Copied to clipboard!
use \Kuzzle\Kuzzle;
$kuzzle = new Kuzzle('localhost');
// ...
$token = $kuzzle->getJwtToken();