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.

Usage

Copied to clipboard!

<?php
use \Kuzzle\Kuzzle;

$kuzzle = new Kuzzle('localhost');

$kuzzle->unsetJwtToken();