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 #
<?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);
Edit this page on Github(opens new window)