SDK
SDK PHP v3.x
1

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.

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!
<?php
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);