unsetJwtToken

kuzzle.unsetJwtToken();
kuzzle.unsetJwtToken();
<?php
use \Kuzzle\Kuzzle;

$kuzzle = new Kuzzle('localhost');

$kuzzle->unsetJwtToken();

Unsets the internal JSON Web Token used for authentication, and stops all existing subscriptions.


Return Value

Returns the Kuzzle SDK object to allow chaining.