SDK PHP v3.x

Constructor #

The Security component lets you handle user permissions in Kuzzle.

Please refer to our permissions guide for more information.

Security #

Arguments Type Description
Kuzzle object An instantiated Kuzzle object

Usage #

Copied to clipboard!
use \Kuzzle\Kuzzle;
use \Kuzzle\Security\Security;
$kuzzle = new Kuzzle('localhost');
// using the static instance
$security = $kuzzle->security();
// or instantiating a new Security object
$security = new Security($kuzzle);