Feature | Api Key - jalallinux/laravel-shinobi-cctv GitHub Wiki

List

Fetch list of current api tokens

list(): Collection

Add

Create new api tokens

add(string $ip, bool $authSocket = true, bool $getMonitors = true, bool $controlMonitors = true, bool $getLogs = true, bool $watchStream = true, bool $watchSnapshot = true, bool $watchVideos = true, bool $deleteVideos = true): Collection

Delete

Delete specific api tokens

delete(string $token): bool